调整跨店下单
This commit is contained in:
parent
1606fcc62d
commit
60e947ada6
@ -462,9 +462,10 @@ class StoreOtherOrderCreateRepository extends StoreOtherOrderRepository
|
|||||||
$orderInfo = $this->v2CartIdByOrderInfo($user, $cartId, $takes, $useCoupon, $useIntegral, $addressId, true);
|
$orderInfo = $this->v2CartIdByOrderInfo($user, $cartId, $takes, $useCoupon, $useIntegral, $addressId, true);
|
||||||
$order_model = $orderInfo['order_model'];
|
$order_model = $orderInfo['order_model'];
|
||||||
$order_extend = $orderInfo['order_extend'];
|
$order_extend = $orderInfo['order_extend'];
|
||||||
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('支付金额超出最大限制');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user