作者 lyh

gx

... ... @@ -156,7 +156,9 @@ class ComController extends BaseController
// 获取上个月的结束时间
$endTime = Carbon::now()->subMonth()->endOfMonth();
foreach ($data as $k => $v){
if($startTime <= $v['submit_time']){
}
}
$this->response('success',Code::SUCCESS,$inquiry_list);
}
... ...
... ... @@ -23,6 +23,8 @@ class ATemplateLogic extends BaseLogic
* @time :2023/6/28 17:03
*/
public function aTemplateList($map,$page,$row,$order = ['created_at'],$filed = ['id','name','status','deleted_status','sort','image']){
$map['deleted_status'] = 0;
$map['status'] = 0;
$lists = $this->model->lists($map,$page,$row,$order,$filed);
return $this->success($lists);
}
... ...
... ... @@ -30,6 +30,8 @@ class ATemplateModuleLogic extends BaseLogic
* @time :2023/6/28 18:01
*/
public function aTemplateModuleLists($map,$page,$row,$order = 'created_at',$filed = ['*']){
$map['deleted_status'] = 0;
$map['status'] = 0;
$lists = $this->model->lists($map,$page,$row,$order,$filed);
return $this->success($lists);
}
... ...