更新推送

This commit is contained in:
yaooo 2023-08-16 17:11:22 +08:00
parent 2f8dacb5e3
commit cf31a1f153

View File

@ -37,11 +37,12 @@ class JgPush
if (empty($jgRegisterId)) { if (empty($jgRegisterId)) {
continue; continue;
} }
$msg = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? '您有新的订单已结算,请注意查看。' : '您有新的订单,请注意查看。'; $msg = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? '您有新的订单已结算,请注意查看。' : '您有新的订单,请注意查看123123。';
$this->addRegistrationId($jgRegisterId); $this->addRegistrationId($jgRegisterId);
$this->androidNotification($msg, ['extras' => ['route' => $route, 'x' => 'xx']]); $this->androidNotification($msg, ['extras' => ['route' => $route, 'x' => 'xx']]);
$this->iosNotification($msg, ['extras' => ['route' => $route, 'x' => 'xx']]); $this->iosNotification($msg, ['extras' => ['route' => $route, 'x' => 'xx']]);
$this->push->send(); $this->push->send();
Log::info("sms ============= 111");
} }
} }
break; break;