更新机关推送
This commit is contained in:
parent
0566fddcc8
commit
8f325973bf
@ -43,7 +43,7 @@ class JgPush
|
||||
$msg = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? '您有新的订单已结算,请注意查看。' : '您有新的订单,请注意查看。';
|
||||
$msgType = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? 'ORDER_SETTLEMENT' : 'ORDER_CREATE';
|
||||
$this->addRegistrationId($jgRegisterId);
|
||||
$this->androidNotification($msg, ['extras' => ['route' => $route, 'type' => $msgType]]);
|
||||
// $this->androidNotification($msg, ['extras' => ['route' => $route, 'type' => $msgType]]);
|
||||
$this->iosNotification($msg, ['extras' => ['route' => $route, 'type' => $msgType]]);
|
||||
$this->push->send();
|
||||
unset($this->client, $this->push);
|
||||
|
Loading…
x
Reference in New Issue
Block a user