From 7ce3cb3cbe13274c53c5facff3ea7790d7f2d2e0 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 28 Sep 2023 16:47:12 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/common/service/JgPush.php b/app/common/service/JgPush.php index cc8c7bcc..a1658498 100644 --- a/app/common/service/JgPush.php +++ b/app/common/service/JgPush.php @@ -18,7 +18,7 @@ class JgPush public function __construct() { - $this->client = new Client('b5f679f4357018605ea6fd2e', 'c4fb573758f8d7058d697c54'); + $this->client = new Client('8a5efd65cda14fafa6e64ad3', 'daebe19b547c43128796a078'); $this->push = $this->client->push(); $this->setPlatform(); } @@ -30,9 +30,9 @@ class JgPush $groupOrder = app()->make(StoreGroupOrderRepository::class)->get($data['id']); if ($groupOrder) { foreach ($groupOrder->orderList as $order) { - $this->client = new Client('b5f679f4357018605ea6fd2e', 'c4fb573758f8d7058d697c54'); + $this->client = new Client('8a5efd65cda14fafa6e64ad3', 'daebe19b547c43128796a078'); $this->push = $this->client->push(); - $this->setPlatform(); + $this->setPlatform(['ios', 'android']); $route = "/pages/admin/orderDetail/index?id={$order['order_id']}&mer_id={$order['mer_id']}"; $merUserId = Merchant::where('mer_id', $order->mer_id)->value('uid'); $jgRegisterId = User::where('uid', $merUserId)->value('jg_register_id');