Authored by 郝肖肖

多品版 商品详情页banner不显示

... ... @@ -199,13 +199,16 @@ class ItemModel
if (!empty($banner['brandId'])) {
$domainBrand = BrandsModel::getBrandByDomain($banner['brandDomain']);
if (!empty($domainBrand['type']) && !empty($domainBrand['shopId'])) {
if (!empty($domainBrand['type'])) {
switch (intval($domainBrand['type'])) {
case 1:
//多品店不显示
$banner = array();
break;
case 2:
if (empty($domainBrand['shopId'])) {
break;
}
//单品店显示新版的店铺banner
$basisData = ShopModel::basisTemplate($domainBrand['shopId']);
$banner['bgImg'] = empty($basisData['shopTopBanner_base']['detailSrc']) ?
... ...