更新推送
This commit is contained in:
parent
2f8dacb5e3
commit
cf31a1f153
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user