Commit 7ee96314 authored by zhoujun's avatar zhoujun

预警配置

parent 23b4d73e
Pipeline #2220 passed with stage
in 0 seconds
...@@ -343,7 +343,7 @@ class WarnService implements IWarnService ...@@ -343,7 +343,7 @@ class WarnService implements IWarnService
})->when($end > 0, function ($query) use ($end) { })->when($end > 0, function ($query) use ($end) {
$endTime = date('Y-m-d H:i:s',strtotime($end) + 86401); $endTime = date('Y-m-d H:i:s',strtotime($end) + 86401);
return $query->where('send_time','<',$endTime); return $query->where('send_time','<',$endTime);
})->select('id','platform','channel','status','type','config_id','people_id','msg','remark','send_time','created_at')->orderBy('id', 'DESC')->paginate($pagePerNum, ['*'], 'currentPage', $currentPage); })->select('id','platform','channel','cash','status','type','config_id','people_id','msg','remark','send_time','created_at')->orderBy('id', 'DESC')->paginate($pagePerNum, ['*'], 'currentPage', $currentPage);
$array['totalNum'] = $lists->total(); $array['totalNum'] = $lists->total();
$array['totalPage'] = $lists->lastPage(); $array['totalPage'] = $lists->lastPage();
$platformArr = config(env('ENVIRONMENT') . '.PLATFORM'); $platformArr = config(env('ENVIRONMENT') . '.PLATFORM');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment