Authored by 徐炜

PC 商品详情重构:接口迁移

@@ -728,19 +728,19 @@ const _detailDataPkg = (origin, uid, vipLevel) => { @@ -728,19 +728,19 @@ const _detailDataPkg = (origin, uid, vipLevel) => {
728 if (domainBrand.type && domainBrand.shopId) { 728 if (domainBrand.type && domainBrand.shopId) {
729 switch (parseInt(domainBrand.type, 10)) { 729 switch (parseInt(domainBrand.type, 10)) {
730 case 1: 730 case 1:
731 - { 731 + {
732 // 多品店不显示 732 // 多品店不显示
733 - banner = [];  
734 - break;  
735 - } 733 + banner = [];
  734 + break;
  735 + }
736 case 2: 736 case 2:
737 - { 737 + {
738 // 单品店显示新版的店铺banner 738 // 单品店显示新版的店铺banner
739 - let basisData = yield shopService.basisTemplateAsync(domainBrand.shopId); 739 + let basisData = yield shopService.basisTemplateAsync(domainBrand.shopId);
740 740
741 - banner.bgImg = basisData.shopTopBanner.banner || banner.bgImg;  
742 - break;  
743 - } 741 + banner.bgImg = basisData.shopTopBanner.banner || banner.bgImg;
  742 + break;
  743 + }
744 } 744 }
745 } 745 }
746 } 746 }