object of class think\db\Raw could not be converted to string -------------------------------------------------------------------- \vendor\topthink\think-orm\src\db\Raw.php 补上下面代码后正常 -------------------------------------------------------------------- public function __toString() { return (string) $this->value; }