任务安排-增加定时下发日期字段

This commit is contained in:
chenbo 2023-12-22 15:42:06 +08:00
parent ceb3a3d48d
commit 4a7da20ffa

View File

@ -113,6 +113,7 @@ class TaskTemplateLogic extends BaseLogic
'stage_day_two' => $params['stage_day_two']??0,
'proportion_two' => $params['proportion_two']??0,
'recharge' => $params['recharge']??0,
'cron_time' => strtotime($params['cron_time']), // 定时下发日期
]);
Db::commit();
return true;
@ -336,6 +337,7 @@ class TaskTemplateLogic extends BaseLogic
'recharge' => $params['recharge']??0,
'stage_day_three' => $params['stage_day_three']??0,
'new_money_three' => $params['new_money_three']??0,
'cron_time' => strtotime($params['cron_time']), // 定时下发日期
]);
Db::commit();
return true;
@ -411,6 +413,7 @@ class TaskTemplateLogic extends BaseLogic
'recharge' => $params['recharge']??0,
'stage_day_three' => $params['stage_day_three']??0,
'new_money_three' => $params['new_money_three']??0,
'cron_time' => strtotime($params['cron_time']), // 定时下发日期
]);
Db::commit();
return true;