From da8125ca0e00c3da6585271b1d210d66093fed3d Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Thu, 4 Sep 2025 17:45:27 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=8F=90=E4=BA=A4=E7=BC=BA=E5=A4=B1=E7=9A=84?= =?UTF-8?q?=E4=B8=9C=E8=A5=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/OrderLogic.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/api/logic/OrderLogic.php b/app/api/logic/OrderLogic.php index c909597..546cf4a 100644 --- a/app/api/logic/OrderLogic.php +++ b/app/api/logic/OrderLogic.php @@ -519,9 +519,9 @@ class OrderLogic extends LogicBase $user_address = $data['address']; $user = User::find($user_id); - if ($post['delivery_type'] != CommonOrder::DELIVERY_STATUS_SELF && empty($data['address'])) { - throw new Exception('请选择收货地址'); - } +// if ($post['delivery_type'] != CommonOrder::DELIVERY_STATUS_SELF && empty($data['address'])) { +// throw new Exception('请选择收货地址'); +// } if ($post['delivery_type'] == CommonOrder::DELIVERY_STATUS_SELF && empty($post['selffetch_shop_id'])) { throw new Exception('自提门店不能为空');