diff --git a/app/common/repositories/store/order/StoreOrderCreateRepository.php b/app/common/repositories/store/order/StoreOrderCreateRepository.php index 73c6e7f2..49943840 100644 --- a/app/common/repositories/store/order/StoreOrderCreateRepository.php +++ b/app/common/repositories/store/order/StoreOrderCreateRepository.php @@ -79,7 +79,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository foreach ($merchantCartList as $merchantCart) { if (($merchantCart['type_id'] != Merchant::TypeSupplyChain) && $address) { - if ($merchantCart['street_id'] != $address['street_code']) { + if ($merchantCart['street_id'] != $address['street_code'] && $createOrder) { throw new ValidateException('不支持跨区域购买,请在【我的】-【地址管理】更改后重新购买'); } }