|
...
|
...
|
@@ -26,11 +26,11 @@ class MonthCountLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/3 9:39
|
|
|
|
*/
|
|
|
|
public function getCountLists($map,$page,$row = 10,$order = 'created_at',$filed = ['*']){
|
|
|
|
public function getCountLists($map,$order = 'created_at',$filed = ['*']){
|
|
|
|
$map['project_id'] = $this->user['project_id'];
|
|
|
|
$lists = $this->model->lists($map,$page,$row,$order,$filed);
|
|
|
|
$lists = $this->model->list($map,$order,$filed);
|
|
|
|
if(!empty($lists)){
|
|
|
|
$lists['list']['new'] = $this->currentMonthCount();
|
|
|
|
$lists['new'] = $this->currentMonthCount();
|
|
|
|
}
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
...
|
...
|
|