更新 app/common/logic/task/TaskLogic.php
修复错误
This commit is contained in:
parent
d0dcded2f9
commit
01d0fcacbf
@ -74,8 +74,6 @@ class TaskLogic extends BaseLogic
|
|||||||
public static function CronAdd(array $v, $datas): bool
|
public static function CronAdd(array $v, $datas): bool
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
TaskTemplate::where('id', $v['id'])->inc('information_day_count', 5)->update();
|
|
||||||
return true;
|
|
||||||
if ($v['types'] == 3) {
|
if ($v['types'] == 3) {
|
||||||
return true;
|
return true;
|
||||||
// $task = Task::where('template_id', $v['id'])->find();
|
// $task = Task::where('template_id', $v['id'])->find();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user