作者 lyh

gx

@@ -56,7 +56,7 @@ class ProjectController extends BaseController @@ -56,7 +56,7 @@ class ProjectController extends BaseController
56 $map['extend_type'] = 0;//排除未续费项目 56 $map['extend_type'] = 0;//排除未续费项目
57 } 57 }
58 $filed = ['id', 'title', 'mysql_id' ,'channel','cooperate_date' ,'type', 'created_at']; 58 $filed = ['id', 'title', 'mysql_id' ,'channel','cooperate_date' ,'type', 'created_at'];
59 - $lists = $project->formatQuery($map)->select($filed)->with('payment')->with('deploy_build') 59 + $lists = $project->formatQuery($map)->orderBy('id','desc')->select($filed)->with('payment')->with('deploy_build')
60 ->with('deploy_optimize')->with('online_check')->paginate($this->row, ['*'], 'page', $this->page); 60 ->with('deploy_optimize')->with('online_check')->paginate($this->row, ['*'], 'page', $this->page);
61 if(!empty($lists)){ 61 if(!empty($lists)){
62 $lists = $lists->toArray(); 62 $lists = $lists->toArray();