From ea4bd28a0e180c907a5a48625f8e4eeace725050 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 6 Sep 2024 10:06:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(OrderLogic):=20=E4=BF=AE=E6=94=B9=E7=94=9F?= =?UTF-8?q?=E9=B2=9C=E4=BA=A7=E5=93=81=E8=AE=A2=E5=8D=95=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E9=99=90=E5=88=B6=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/order/OrderLogic.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/api/logic/order/OrderLogic.php b/app/api/logic/order/OrderLogic.php index 3779f81c7..e444f5863 100644 --- a/app/api/logic/order/OrderLogic.php +++ b/app/api/logic/order/OrderLogic.php @@ -203,11 +203,11 @@ class OrderLogic extends BaseLogic $pay_price = self::$pay_price; // bcsub(self::$pay_price, self::$activity_price, 2); //减去活动优惠金额 //判断生鲜是否大于200 - if ($createOrder == 1 && self::$fresh_price > 0 &&$source!=2) { - if (self::$pay_price < 200) { - throw new BusinessException('订单包含生鲜产品,订单金额必须大于200元,才能下单'); - } - } + // if ($createOrder == 1 && self::$fresh_price > 0 &&$source!=2) { + // if (self::$pay_price < 200) { + // throw new BusinessException('订单包含生鲜产品,订单金额必须大于200元,才能下单'); + // } + // } if (isset($params['store_id']) && $params['store_id'] == getenv('ACTIVITY_STORE_ID')) { $off_activity = 1; }