调整跨店下单

This commit is contained in:
luofei 2024-01-24 15:57:47 +08:00 committed by mkm
parent 7798571066
commit 0b72d96071

View File

@ -710,9 +710,10 @@ class StoreOrderCreateRepository extends StoreOrderRepository
if ($pay_type == 'balance' && $orderInfo['source'] != 103 && $orderInfo['source'] != 105) { if ($pay_type == 'balance' && $orderInfo['source'] != 103 && $orderInfo['source'] != 105) {
throw new ValidateException('余额支付只能用于里海云仓'); throw new ValidateException('余额支付只能用于里海云仓');
} }
if (!$orderInfo['order_delivery_status']) { // 以下判断无意义v2CartIdByOrderInfo 已经判断过收货地址或自提地址
throw new ValidateException('部分商品配送方式不一致,请单独下单'); // if (!$orderInfo['order_delivery_status']) {
} // throw new ValidateException('部分商品配送方式不一致,请单独下单');
// }
if ($orderInfo['order_price'] > 1000000) { if ($orderInfo['order_price'] > 1000000) {
throw new ValidateException('支付金额超出最大限制'); throw new ValidateException('支付金额超出最大限制');
} }