作者 lyh

gx

@@ -96,7 +96,7 @@ class ProjectController extends BaseController @@ -96,7 +96,7 @@ class ProjectController extends BaseController
96 //搜索参数处理 96 //搜索参数处理
97 $map = $this->searchParam($map,$this->map); 97 $map = $this->searchParam($map,$this->map);
98 $filed = ['id', 'title', 'mysql_id' ,'channel','cooperate_date' ,'type', 'created_at']; 98 $filed = ['id', 'title', 'mysql_id' ,'channel','cooperate_date' ,'type', 'created_at'];
99 - $lists = $project->select($filed)->formatQuery($map)->with('payment')->with('deploy_build') 99 + $lists = $project->formatQuery($map)->select($filed)->with('payment')->with('deploy_build')
100 ->with('deploy_optimize')->with('online_check')->paginate($this->row, ['*'], 'page', $this->page); 100 ->with('deploy_optimize')->with('online_check')->paginate($this->row, ['*'], 'page', $this->page);
101 if(!empty($lists)){ 101 if(!empty($lists)){
102 $lists = $lists->toArray(); 102 $lists = $lists->toArray();