正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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(); |
-
请 注册 或 登录 后发表评论