mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update UserUpgrade.php
This commit is contained in:
parent
1725d1d5ac
commit
1d62005708
@ -36,8 +36,9 @@ class UserUpgrade extends Command
|
||||
UserUpgradeService::instance()->upgrade($user['id']);
|
||||
$this->queue->message($total, $count, "完成计算用户 [{$user['id']}] 的等级", 1);
|
||||
}
|
||||
$this->setQueueSuccess("此次共处理 {$total} 计算用户等级。");
|
||||
} catch (\Exception $exception) {
|
||||
$this->queue->error($exception->getMessage());
|
||||
$this->setQueueError($exception->getMessage());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user