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