|
...
|
...
|
@@ -29,9 +29,7 @@ class MonthCountLogic extends BaseLogic |
|
|
|
public function getCountLists($map,$order = 'created_at',$filed = ['*']){
|
|
|
|
$map['project_id'] = $this->user['project_id'];
|
|
|
|
$lists = $this->model->list($map,$order,$filed);
|
|
|
|
if(!empty($lists)){
|
|
|
|
$lists['new'] = $this->currentMonthCount();
|
|
|
|
}
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|