From f4d28509db9673ce3163be4c10e0966d4ba4ba43 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Wed, 12 Jul 2023 15:41:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E9=80=BE=E6=9C=9F=E6=8F=90?= =?UTF-8?q?=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/store/product/SpuRepository.php | 1 + app/common/service/JgPush.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/common/repositories/store/product/SpuRepository.php b/app/common/repositories/store/product/SpuRepository.php index e08885d9..edb7d260 100644 --- a/app/common/repositories/store/product/SpuRepository.php +++ b/app/common/repositories/store/product/SpuRepository.php @@ -150,6 +150,7 @@ class SpuRepository extends BaseRepository $query->field($this->merchantFiled)->with(['type_name']); }, 'issetCoupon', + 'product.attrValue', ]); $productMake = app()->make(ProductRepository::class); $count = $query->count(); diff --git a/app/common/service/JgPush.php b/app/common/service/JgPush.php index 7e2828f5..8b792781 100644 --- a/app/common/service/JgPush.php +++ b/app/common/service/JgPush.php @@ -56,7 +56,7 @@ class JgPush } break; case 'MERCHANT_CREDIT_BUY_NOTICE': - $route = "/pages/admin/orderDetail/index?id={$data['orderId']}&mer_id={$data['id']}"; + $route = "/pages/order_details/stay?order_id={$data['orderId']}&product_type=98"; $merUserId = Merchant::where('mer_id', $data['id'])->value('uid'); $jgRegisterId = User::where('uid', $merUserId)->value('jg_register_id'); if (empty($jgRegisterId)) {