修复判断

This commit is contained in:
mkm 2023-11-09 17:16:41 +08:00
parent 69b511c2fa
commit cb7cdcc991

View File

@ -73,7 +73,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
foreach ($merchantCartList as $merchantCart) {
if($merchantCart['type_id']!=Merchant::TypeSupplyChain){
if($merchantCart['street_id']!=$address['street_code']){
throw new ValidateException('不能跨区域购买商品');
throw new ValidateException('不支持跨区域购买,请在【我的】-【地址管理】更改后重新购买');
}
}
foreach ($merchantCart['list'] as $cart) {