Authored by yyq

品牌店铺入口

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