6
0
Fork 0

修改推送任务

release
vine_liutk 2021-12-29 15:08:27 +08:00
parent 9421752e63
commit 07994f9db2
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class PushMessageCommand extends Command
$status = 2; //默认失败
//如果是系统消息
if ($task->message instanceof Message) {
if ((bool) app_settings('nuipush.is_use')) {//如果开启了推送
if ((bool) app_settings('unipush.is_use')) {//如果开启了推送
$status = $mallPushService->push($task->sn, $task->message) ? 1 : 2;
}
}