This commit is contained in:
xucong 2024-12-08 09:26:42 +08:00
parent 05cd30a3a4
commit 59260f4a57

@ -1175,11 +1175,8 @@ class OrderLogic extends Logic
$order_data['address'] = $address['address'];
$order_data['mobile'] = $address['telephone'];
$act_price = 1;
if(isset($post['act_id'])){
if($post['act_id'] != 1){
$act_price = 0.88;
}
}else{
$act_id = isset($post['act_id'])?$post['act_id']:0;
if($act_id != 1){
$act_price = 0.88;
}
$order_data['goods_price'] = round($act_price*$goods_price,2);