Merge pull request 'fix(admin): 修复会员价显示问题' (#463) from dev into main
Reviewed-on: #463
This commit is contained in:
commit
e099f1ca3e
@ -903,6 +903,7 @@ class BeforehandOrderLogic extends BaseLogic
|
|||||||
$v['mark'] = $find['after_sales'];
|
$v['mark'] = $find['after_sales'];
|
||||||
if ($v['vip_price'] > 0) {
|
if ($v['vip_price'] > 0) {
|
||||||
$v['pay_price'] = bcmul($v['vip_price'], $v['nums'], 2);
|
$v['pay_price'] = bcmul($v['vip_price'], $v['nums'], 2);
|
||||||
|
$price =$v['vip_price'];
|
||||||
} else {
|
} else {
|
||||||
$price = StoreProductGroupPrice::where('product_id', $v['product_id'])->where('group_id', $user_ship)->value('price');
|
$price = StoreProductGroupPrice::where('product_id', $v['product_id'])->where('group_id', $user_ship)->value('price');
|
||||||
if ($price > 0) {
|
if ($price > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user