限制最低付款金额

This commit is contained in:
liu 2024-06-20 15:55:41 +08:00
parent 6b29a32470
commit 85a8d1809f

View File

@ -134,6 +134,9 @@ class OrderLogic extends BaseLogic
}else{
$pay_price =bcsub(self::$pay_price, self::$activity_price, 2); //减去活动优惠金额
}
if($pay_price < 500){
throw new Exception('金额低于500');
}
$vipPrice = 0;
//成本价 收益