|
...
|
...
|
@@ -25,7 +25,7 @@ class MonthReportController extends BaseController |
|
|
|
public function getMonth(){
|
|
|
|
$monthCountModel = new MonthCount();
|
|
|
|
$this->map['project_id'] = $this->user['project_id'];
|
|
|
|
$month = $monthCountModel->formatQuery($this->map)->pluck('month')->toArray();
|
|
|
|
$month = $monthCountModel->formatQuery($this->map)->pluck('month')->unique()->toArray();
|
|
|
|
$this->response('success',Code::SUCCESS,$month);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|