Merge pull request 'feat(OrderLogic): 修正用户 ship 为 5 时订单价格计算逻辑' (#47) from dev into main

Reviewed-on: #47
This commit is contained in:
mkm 2024-07-23 08:59:32 +08:00
commit 9fc1675e29

View File

@ -113,7 +113,7 @@ class OrderLogic extends BaseLogic
} else {
$price = $find['price'];
}
if($off_activity==0 && $user['user_ship']==5 && $find['top_cate_id']==15189){
if($off_activity==0 && $user&&$user['user_ship']==5 && $find['top_cate_id']==15189){
$price=$find['cost'];
}
$cart_select[$k]['price'] = $price;