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('自提门店不能为空');