作者 lyh

gx数据

@@ -36,7 +36,6 @@ class MonthReportController extends BaseController @@ -36,7 +36,6 @@ class MonthReportController extends BaseController
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()->toArray();
39 - $month = sort($month);  
40 $this->response('success',Code::SUCCESS,$month); 39 $this->response('success',Code::SUCCESS,$month);
41 } 40 }
42 41