更新推送信息

This commit is contained in:
yaooo 2023-08-16 17:03:28 +08:00
parent 974b3b0af4
commit 2f8dacb5e3

View File

@ -39,8 +39,8 @@ class JgPush
}
$msg = $order['pay_type'] == StoreGroupOrder::PAY_TYPE_CREDIT_BUY ? '您有新的订单已结算,请注意查看。' : '您有新的订单,请注意查看。';
$this->addRegistrationId($jgRegisterId);
$this->androidNotification($msg, ['extras' => ['route' => $route]]);
$this->iosNotification($msg, ['extras' => ['route' => $route]]);
$this->androidNotification($msg, ['extras' => ['route' => $route, 'x' => 'xx']]);
$this->iosNotification($msg, ['extras' => ['route' => $route, 'x' => 'xx']]);
$this->push->send();
}
}