From b4ba989c37fe912ed59942b7b8ecd779b1e4dcc8 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 23 Jan 2024 19:56:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repositories/store/order/StoreOrderCreateRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/repositories/store/order/StoreOrderCreateRepository.php b/app/common/repositories/store/order/StoreOrderCreateRepository.php index f283ec91..1d0bf2a6 100644 --- a/app/common/repositories/store/order/StoreOrderCreateRepository.php +++ b/app/common/repositories/store/order/StoreOrderCreateRepository.php @@ -717,7 +717,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository $orderInfo = $this->v2CartIdByOrderInfo($user, $cartId, $takes, $useCoupon, $useIntegral, $addressId, true, $consumption_id); $order_model = $orderInfo['order_model']; $order_extend = $orderInfo['order_extend']; - if ($pay_type == 'balance' && $orderInfo['source'] != 103) { + if ($pay_type == 'balance' && $orderInfo['source'] != 103 && $orderInfo['source'] != 105) { throw new ValidateException('余额支付只能用于里海云仓'); } if (!$orderInfo['order_delivery_status']) {