收银机下单金额处理

This commit is contained in:
liu 2024-06-20 17:32:31 +08:00
parent 36d1131c3e
commit 7d56ff9fbd

View File

@ -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;
//成本价 收益