正在显示
1 个修改的文件
包含
1 行增加
和
3 行删除
| @@ -29,9 +29,7 @@ class MonthCountLogic extends BaseLogic | @@ -29,9 +29,7 @@ class MonthCountLogic extends BaseLogic | ||
| 29 | public function getCountLists($map,$order = 'created_at',$filed = ['*']){ | 29 | public function getCountLists($map,$order = 'created_at',$filed = ['*']){ |
| 30 | $map['project_id'] = $this->user['project_id']; | 30 | $map['project_id'] = $this->user['project_id']; |
| 31 | $lists = $this->model->list($map,$order,$filed); | 31 | $lists = $this->model->list($map,$order,$filed); |
| 32 | - if(!empty($lists)){ | ||
| 33 | - $lists['new'] = $this->currentMonthCount(); | ||
| 34 | - } | 32 | + $lists['new'] = $this->currentMonthCount(); |
| 35 | return $this->success($lists); | 33 | return $this->success($lists); |
| 36 | } | 34 | } |
| 37 | 35 |
-
请 注册 或 登录 后发表评论