Merge pull request 'fix(admin): 修复会员价显示问题' (#463) from dev into main

Reviewed-on: #463
This commit is contained in:
mkm 2025-01-13 16:15:00 +08:00
commit e099f1ca3e

View File

@ -903,6 +903,7 @@ class BeforehandOrderLogic extends BaseLogic
$v['mark'] = $find['after_sales'];
if ($v['vip_price'] > 0) {
$v['pay_price'] = bcmul($v['vip_price'], $v['nums'], 2);
$price =$v['vip_price'];
} else {
$price = StoreProductGroupPrice::where('product_id', $v['product_id'])->where('group_id', $user_ship)->value('price');
if ($price > 0) {