限制最低付款金额
This commit is contained in:
parent
6b29a32470
commit
85a8d1809f
@ -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;
|
||||
//成本价 收益
|
||||
|
Loading…
x
Reference in New Issue
Block a user