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)) {