...
|
...
|
@@ -398,19 +398,20 @@ const getBaseShopData = (params) => { |
|
|
_getShopDecorator(params.shop_id),
|
|
|
getShopBrands(params.shop_id)
|
|
|
]).then(result => {
|
|
|
result[0] = result[0] || {};
|
|
|
|
|
|
if (result[0] && _.has(result[0], 'list')) {
|
|
|
_.forEach(result[0].list, item => {
|
|
|
if (item.resourceName === 'shopTopBanner_base') {
|
|
|
let banner = JSON.parse(item.resourceData);
|
|
|
|
|
|
finalResult = _.assign(finalResult, {
|
|
|
shopBanner: {
|
|
|
banner: banner[0].shopSrc
|
|
|
baseShopHome: {
|
|
|
banner: _.get(banner, 'banner[0].shopSrc', '')
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
|
|
if (params.multBrandShopType === '2') {
|
|
|
// 转义店铺
|
...
|
...
|
|