diff --git a/app/common/logic/store_order/StoreOrderLogic.php b/app/common/logic/store_order/StoreOrderLogic.php index b5e6bf98..b892b808 100644 --- a/app/common/logic/store_order/StoreOrderLogic.php +++ b/app/common/logic/store_order/StoreOrderLogic.php @@ -118,6 +118,10 @@ class StoreOrderLogic extends BaseLogic $pay_price =bcsub(self::$pay_price, self::$activity_price, 2); //减去活动优惠金额 $activity_string = '减免'; } + + if($pay_price < 500){ + throw new \think\Exception('金额低于500'); + } $vipPrice = 0; //成本价 收益