Authored by yyq

品牌店铺入口

@@ -297,7 +297,7 @@ const shopFormat = shopDatas => { @@ -297,7 +297,7 @@ const shopFormat = shopDatas => {
297 297
298 _.forEach(shopDatas, val => { 298 _.forEach(shopDatas, val => {
299 let sorts = []; 299 let sorts = [];
300 - let shopId = val.shop && (val.shop.brand_id || val.shop.id) || ''; // 接口中品牌下的店铺为brand_id,品牌为id 300 + let shopId = _.get(val, 'shop.id', '');
301 let url = helpers.urlFormat('', {shopId: shopId}, val.shop.brand_domain); 301 let url = helpers.urlFormat('', {shopId: shopId}, val.shop.brand_domain);
302 302
303 if (val.shopSort) { 303 if (val.shopSort) {