更新推送
This commit is contained in:
parent
3545b5887e
commit
b1b94ab74e
@ -37,7 +37,7 @@ class JgPush
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$msg = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? '您有新的订单已结算,请注意查看。' : '您有新的订单,请注意查看。';
|
$msg = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? '您有新的订单已结算,请注意查看。' : '您有新的订单,请注意查看。';
|
||||||
$msgType = StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? 'ORDER_SETTLEMENT' : 'ORDER_CREATE';
|
$msgType = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? 'ORDER_SETTLEMENT' : 'ORDER_CREATE';
|
||||||
$this->addRegistrationId($jgRegisterId);
|
$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->iosNotification($msg, ['extras' => ['route' => $route, 'type' => $msgType]]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user