From 1df72153dd4f9016af090d7682aa4583ef12e18d Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 23 Jul 2024 08:58:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(OrderLogic):=20=E4=BF=AE=E6=AD=A3=E7=94=A8?= =?UTF-8?q?=E6=88=B7=20ship=20=E4=B8=BA=205=20=E6=97=B6=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E4=BB=B7=E6=A0=BC=E8=AE=A1=E7=AE=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/order/OrderLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/order/OrderLogic.php b/app/api/logic/order/OrderLogic.php index ffcf7aa1..b5f68b8e 100644 --- a/app/api/logic/order/OrderLogic.php +++ b/app/api/logic/order/OrderLogic.php @@ -113,7 +113,7 @@ class OrderLogic extends BaseLogic } else { $price = $find['price']; } - if($off_activity==0 && $user['user_ship']==5 && $find['top_cate_id']==15189){ + if($off_activity==0 && $user&&$user['user_ship']==5 && $find['top_cate_id']==15189){ $price=$find['cost']; } $cart_select[$k]['price'] = $price;