收银机下单金额处理
This commit is contained in:
parent
36d1131c3e
commit
7d56ff9fbd
@ -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;
|
||||
//成本价 收益
|
||||
|
Loading…
x
Reference in New Issue
Block a user