💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
>[danger] 模型的序列化输出 + `toArray()` 触发获取器 ~~~ $data = self::where('id', 1)->find()->toArray(); $data = self::where('id', 1)->select()->toArray(); ~~~ >[danger] 模型数据对象取值 + `模型数据对象->字段名` 触发获取器 ~~~ $data = self::where('id', 1)->find(); var_dump($data->nick_name); $data = self::where('id', 1)->select(); foreach ($data as $v) { // var_dump($v->nick_name); } ~~~