Merge pull request '修改商品商户价格' (#375) from dev into main
Reviewed-on: #375
This commit is contained in:
commit
5fa531fcbb
@ -880,9 +880,9 @@ class OrderLogic extends BaseLogic
|
||||
if ($source == 4) {
|
||||
return $product['price'];
|
||||
}
|
||||
//开启活动或用户身份为 商户、酒店、食堂 展示成本价(即商户价)
|
||||
//目前已修改为 商品分组报价,根据用户组展示对应的价格
|
||||
if ($offActivity == 1) {
|
||||
|
||||
//开启活动或用户身份为 商户 展示成本价(即商户价)
|
||||
if ($offActivity == 1 || ($user != null && $user['user_ship'] == 4)) {
|
||||
$price = $product['cost'];
|
||||
} else {
|
||||
$price = $product['price'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user