...
|
...
|
@@ -34,8 +34,8 @@ const _processBrandShops = (list) => { |
|
|
url: helpers.urlFormat('/product/index/brand/', {
|
|
|
shop_id: item.shop_id
|
|
|
}),
|
|
|
thumb: helpers.image(item.brandIco, 75, 40),
|
|
|
name: item.brandName
|
|
|
thumb: helpers.image(item.brand_ico, 75, 40),
|
|
|
name: item.brand_name
|
|
|
});
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -367,6 +367,7 @@ const _formShopData = (data, shopId, isApp) => { |
|
|
logoImg: _.get(data, 'shopInfo.shop_logo', ''),
|
|
|
storeName: (_.get(data, 'shopInfo.is_show_shop_name', '') === 'Y') ?
|
|
|
_.get(data, 'shopInfo.shop_name', '') : '',
|
|
|
seoTitle: _.get(data, 'shopInfo.shop_name', ''),
|
|
|
collect: _.get(data, 'shopInfo.is_favorite', '') === 'Y',
|
|
|
url: helpers.urlFormat('', {
|
|
|
shop_id: shopId
|
...
|
...
|
@@ -741,15 +742,15 @@ const getShopCategory = (params) => { |
|
|
|
|
|
_.forEach(resultCopy, value => {
|
|
|
finalResult.class.push({
|
|
|
name: value.categoryName
|
|
|
name: value.category_name
|
|
|
});
|
|
|
|
|
|
_.forEach(value.sub, (subValue, subKey) => {
|
|
|
value.sub[subKey].url = helpers.urlFormat('/product/search/list', {
|
|
|
shop_id: params.shopId,
|
|
|
sort: _.get(value, 'relation_parameter.sort', ''),
|
|
|
title: subValue.categoryName,
|
|
|
query: subValue.categoryName
|
|
|
title: subValue.category_name,
|
|
|
query: subValue.category_name
|
|
|
});
|
|
|
});
|
|
|
|
...
|
...
|
|