作者 lyh

gx

@@ -97,6 +97,8 @@ class ProjectController extends BaseController @@ -97,6 +97,8 @@ class ProjectController extends BaseController
97 if(isset($this->map['type'])){ 97 if(isset($this->map['type'])){
98 $map['type'] = $this->searchType($this->map['type']); 98 $map['type'] = $this->searchType($this->map['type']);
99 } 99 }
  100 + var_dump($map);
  101 + die();
100 $filed = ['id', 'title', 'mysql_id' ,'channel','cooperate_date' ,'type', 'created_at']; 102 $filed = ['id', 'title', 'mysql_id' ,'channel','cooperate_date' ,'type', 'created_at'];
101 $lists = $project->formatQuery($map)->select($filed)->with('payment')->with('deploy_build') 103 $lists = $project->formatQuery($map)->select($filed)->with('payment')->with('deploy_build')
102 ->with('deploy_optimize')->with('online_check')->paginate($this->row, ['*'], 'page', $this->page); 104 ->with('deploy_optimize')->with('online_check')->paginate($this->row, ['*'], 'page', $this->page);