修改自营门店价格
This commit is contained in:
parent
7f99a6b34e
commit
5bb7fcd0e6
@ -46,7 +46,7 @@ class StoreProductGroupPrice extends BaseModel
|
||||
{
|
||||
if ($shopId > 0 && SystemStore::isSelfOperate($shopId) && $userShip > 0) {
|
||||
foreach ($productList as &$item) {
|
||||
$item['price'] = $item['vip_price'];
|
||||
$item['price'] = $item['vip_price'] > 0 ? $item['vip_price'] : $item['price'];
|
||||
}
|
||||
return $productList;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user