method not exist:think\db\Query->onlyTrashed

浏览:829 发布日期:2019/10/25 分类:ThinkPHP5专区
method not exist:think\db\Query->onlyTrashed就是想用多对多关联查回收站的数据$datas = $this->_user->personnels()->onlyTrashed()->page($page,$rows)->select();
            $total = $this->_user->personnels()->onlyTrashed()->Count();
报错:method not exist:think\db\Query->onlyTrashed请问怎么解决
最佳答案
评论( 相关
后面还有条评论,点击查看>>