thinkphp 5.0.12 实例化模板后 select toArray报错

浏览:1846 发布日期:2018/01/03 分类:ThinkPHP5专区
$model_car_type = new CarType();
$res = $model_car_type->find(1);
dump($res->toArray()); //正常输出array格式的数据

$res = $model_car_type->select();
dump($res->toArray());
最佳答案
评论( 相关
后面还有条评论,点击查看>>