From da72fe2d5bca5b4fb5f4a1c82a808e6349ef5433 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Thu, 29 Feb 2024 14:03:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=B4=AD=E7=89=A9=E5=8D=A1?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repositories/store/order/StoreOrderCreateRepository.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/common/repositories/store/order/StoreOrderCreateRepository.php b/app/common/repositories/store/order/StoreOrderCreateRepository.php index f46ae5cd..cb0fbb8e 100755 --- a/app/common/repositories/store/order/StoreOrderCreateRepository.php +++ b/app/common/repositories/store/order/StoreOrderCreateRepository.php @@ -83,8 +83,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository $allowDelivery = true; $activityProductCount = 0; //判断是否是平台购物卡,购物卡不允许使用任何优惠券 - $merchantCate = $merchantCartList[0]['list'][0]->product->merCateId; - $isPlatformCard = $merchantCart['list'][0]['product']->isPlatformCard(); + $isPlatformCard = $merchantCartList[0]['list'][0]['product']->isPlatformCard(); if ($isPlatformCard) { $merchantTypeId = Merchant::where('uid', $uid)->value('type_id'); if (empty($merchantTypeId) || $merchantTypeId != 21) {