...
|
...
|
@@ -42,7 +42,7 @@ const _packageAd = (params) => { |
|
|
|
|
|
const _packageList = (channel) => {
|
|
|
return api.get('', {
|
|
|
method: 'app.brand.newBrandList',
|
|
|
method: 'app.brand.allBrandList',
|
|
|
yh_channel: channel
|
|
|
}, {
|
|
|
cache: true,
|
...
|
...
|
@@ -172,7 +172,10 @@ const getBrandListByChannel = (channel) => { |
|
|
name: row.brand_name,
|
|
|
isHot: row.is_hot === 'Y' ? true : false,
|
|
|
isNew: row.is_show_new === 'Y' ? true : false,
|
|
|
url: helpers.urlFormat('/product/index/brand?domain=' + row.brand_domain)
|
|
|
url: helpers.urlFormat('/product/index/brand', {
|
|
|
domain: row.brand_domain,
|
|
|
shopType: row.type
|
|
|
})
|
|
|
});
|
|
|
});
|
|
|
resu.brandList.push(obj);
|
...
|
...
|
@@ -190,7 +193,10 @@ const getBrandListByChannel = (channel) => { |
|
|
|
|
|
obj.list.push({
|
|
|
brandName: newList[key].brand_name,
|
|
|
url: helpers.urlFormat('/product/index/brand?domain=' + newList[key].brand_domain),
|
|
|
url: helpers.urlFormat('/product/index/brand', {
|
|
|
domain: newList[key].brand_domain,
|
|
|
shopType: newList[key].type
|
|
|
}),
|
|
|
img: helpers.image(newList[key].brand_ico, 186, 115),
|
|
|
});
|
|
|
resu.newBrandWall.push(obj);
|
...
|
...
|
@@ -208,7 +214,10 @@ const getBrandListByChannel = (channel) => { |
|
|
|
|
|
obj.list.push({
|
|
|
brandName: hotList[key].brand_name,
|
|
|
url: helpers.urlFormat('/product/index/brand?domain=' + hotList[key].brand_domain),
|
|
|
url: helpers.urlFormat('/product/index/brand', {
|
|
|
domain: hotList[key].brand_domain,
|
|
|
shopType: hotList[key].type
|
|
|
}),
|
|
|
img: helpers.image(hotList[key].brand_ico, 186, 115),
|
|
|
});
|
|
|
resu.recommandBrandWall.push(obj);
|
...
|
...
|
|