This commit is contained in:
mkm 2023-08-24 18:21:09 +08:00
parent 657c605dbc
commit 75ab31fdb8

View File

@ -42,7 +42,7 @@ class CeshiController extends BaseApiController
// $all=TaskSchedulingPlan::where('start_time','between',[$time,$tiem_end])->where('is_execute',0)->with(['template_info','scheduling'])->select()->toArray();
$company_id=[];
foreach($all as $k=>$v){
// TaskLogic::CronAdd($v);
TaskLogic::CronAdd($v);
$company_id[]=$v['company_id'];
}
$arr=array_unique($company_id);