|
@@ -26,11 +26,11 @@ class MonthCountLogic extends BaseLogic |
|
@@ -26,11 +26,11 @@ class MonthCountLogic extends BaseLogic |
|
26
|
* @method :post
|
26
|
* @method :post
|
|
27
|
* @time :2023/7/3 9:39
|
27
|
* @time :2023/7/3 9:39
|
|
28
|
*/
|
28
|
*/
|
|
29
|
- public function getCountLists($map,$page,$row = 10,$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->lists($map,$page,$row,$order,$filed);
|
31
|
+ $lists = $this->model->list($map,$order,$filed);
|
|
32
|
if(!empty($lists)){
|
32
|
if(!empty($lists)){
|
|
33
|
- $lists['list']['new'] = $this->currentMonthCount();
|
33
|
+ $lists['new'] = $this->currentMonthCount();
|
|
34
|
}
|
34
|
}
|
|
35
|
return $this->success($lists);
|
35
|
return $this->success($lists);
|
|
36
|
}
|
36
|
}
|