diff --git a/app/common/logic/task/TaskLogic.php b/app/common/logic/task/TaskLogic.php index eaa9ab81c..acbb1771b 100644 --- a/app/common/logic/task/TaskLogic.php +++ b/app/common/logic/task/TaskLogic.php @@ -74,8 +74,7 @@ class TaskLogic extends BaseLogic public static function CronAdd(array $v, $datas): bool { try { - TaskTemplate::where('id', $v['id'])->inc('information_day_count', 5)->update(); - return true; + $v['day_count']=$v['day_count']+1; if ($v['types'] == 3) { return true; // $task = Task::where('template_id', $v['id'])->find();