更新推送信息
This commit is contained in:
parent
974b3b0af4
commit
2f8dacb5e3
@ -39,8 +39,8 @@ class JgPush
|
|||||||
}
|
}
|
||||||
$msg = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? '您有新的订单已结算,请注意查看。' : '您有新的订单,请注意查看。';
|
$msg = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? '您有新的订单已结算,请注意查看。' : '您有新的订单,请注意查看。';
|
||||||
$this->addRegistrationId($jgRegisterId);
|
$this->addRegistrationId($jgRegisterId);
|
||||||
$this->androidNotification($msg, ['extras' => ['route' => $route]]);
|
$this->androidNotification($msg, ['extras' => ['route' => $route, 'x' => 'xx']]);
|
||||||
$this->iosNotification($msg, ['extras' => ['route' => $route]]);
|
$this->iosNotification($msg, ['extras' => ['route' => $route, 'x' => 'xx']]);
|
||||||
$this->push->send();
|
$this->push->send();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user