修复判断
This commit is contained in:
parent
69b511c2fa
commit
cb7cdcc991
@ -73,7 +73,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
|||||||
foreach ($merchantCartList as $merchantCart) {
|
foreach ($merchantCartList as $merchantCart) {
|
||||||
if($merchantCart['type_id']!=Merchant::TypeSupplyChain){
|
if($merchantCart['type_id']!=Merchant::TypeSupplyChain){
|
||||||
if($merchantCart['street_id']!=$address['street_code']){
|
if($merchantCart['street_id']!=$address['street_code']){
|
||||||
throw new ValidateException('不能跨区域购买商品');
|
throw new ValidateException('不支持跨区域购买,请在【我的】-【地址管理】更改后重新购买');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach ($merchantCart['list'] as $cart) {
|
foreach ($merchantCart['list'] as $cart) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user