feat(OrderLogic): 根据用户等级更新订单价格逻辑
This commit is contained in:
parent
44e90e03da
commit
a8fa7dd540
@ -98,7 +98,7 @@ class OrderLogic extends BaseLogic
|
|||||||
$price = $find['cost'];
|
$price = $find['cost'];
|
||||||
} else {
|
} else {
|
||||||
if ($user && in_array($user['user_ship'], [4, 5, 6, 7])) {
|
if ($user && in_array($user['user_ship'], [4, 5, 6, 7])) {
|
||||||
$price = 'cost';
|
$price = $find['cost'];
|
||||||
} else {
|
} else {
|
||||||
$price = $find['price'];
|
$price = $find['price'];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user