合并分支 'lyh-server' 到 'master'
gx数据 查看合并请求 !1450
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -35,7 +35,7 @@ class MonthReportController extends BaseController | @@ -35,7 +35,7 @@ class MonthReportController extends BaseController | ||
| 35 | if($this->user['is_upgrade'] != 1){ | 35 | if($this->user['is_upgrade'] != 1){ |
| 36 | $this->map['month'] = ['>=',date('Y-m',strtotime($this->user['uptime']))]; | 36 | $this->map['month'] = ['>=',date('Y-m',strtotime($this->user['uptime']))]; |
| 37 | } | 37 | } |
| 38 | - $month = $monthCountModel->formatQuery($this->map)->pluck('month')->unique()->sort()->toArray(); | 38 | + $month = $monthCountModel->formatQuery($this->map)->orderBy('month', 'asc')->pluck('month')->unique()->toArray(); |
| 39 | $this->response('success',Code::SUCCESS,$month); | 39 | $this->response('success',Code::SUCCESS,$month); |
| 40 | } | 40 | } |
| 41 | 41 |
-
请 注册 或 登录 后发表评论