更新 app/common/logic/task/TaskLogic.php

修复错误
This commit is contained in:
mkm 2023-09-07 20:52:28 +08:00
parent d0dcded2f9
commit 01d0fcacbf

View File

@ -74,8 +74,6 @@ 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;
if ($v['types'] == 3) {
return true;
// $task = Task::where('template_id', $v['id'])->find();