作者 lyh

gx

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