求指导,$this->assign('list',$list)出错

浏览:1452 发布日期:2017/03/07 分类:ThinkPHP5专区 关键字: list thinkphp5 tp5 列表
$list = goodscomment::all();
$this->assign('list',$list);
return $this->fetch();
报错 object of class app\common\model\GoodsComment could not be converted to int
最佳答案
评论( 相关
后面还有条评论,点击查看>>