作者 李宇航

合并分支 'lyh-server' 到 'master'

gx数据



查看合并请求 !1449
@@ -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()->toArray(); 38 + $month = $monthCountModel->formatQuery($this->map)->pluck('month')->unique()->sort()->toArray();
39 $this->response('success',Code::SUCCESS,$month); 39 $this->response('success',Code::SUCCESS,$month);
40 } 40 }
41 41