From e9bde1f6da585e1467ef8c1cd6a22ab9753e195a Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 28 Sep 2023 16:49:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/JgPush.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/common/service/JgPush.php b/app/common/service/JgPush.php index a1658498..07caa84d 100644 --- a/app/common/service/JgPush.php +++ b/app/common/service/JgPush.php @@ -39,11 +39,10 @@ class JgPush if (empty($jgRegisterId)) { continue; } - echo "jgRegisterId: $jgRegisterId \n"; $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);