正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -30,6 +30,7 @@ class MonthReportController extends BaseController | @@ -30,6 +30,7 @@ class MonthReportController extends BaseController | ||
| 30 | public function getMonth(){ | 30 | public function getMonth(){ |
| 31 | $monthCountModel = new MonthCount(); | 31 | $monthCountModel = new MonthCount(); |
| 32 | $this->map['project_id'] = $this->user['project_id']; | 32 | $this->map['project_id'] = $this->user['project_id']; |
| 33 | + $this->map['month'] = ['>=',date('Y-m',strtotime($this->user['uptime']))]; | ||
| 33 | $month = $monthCountModel->formatQuery($this->map)->pluck('month')->unique()->toArray(); | 34 | $month = $monthCountModel->formatQuery($this->map)->pluck('month')->unique()->toArray(); |
| 34 | $this->response('success',Code::SUCCESS,$month); | 35 | $this->response('success',Code::SUCCESS,$month); |
| 35 | } | 36 | } |
-
请 注册 或 登录 后发表评论