...
|
...
|
@@ -352,7 +352,7 @@ const _formShopData = (data, shopId, isApp) => { |
|
|
_.forEach(resData, (item) => {
|
|
|
if (item.brandDomain) {
|
|
|
brand.list.push({
|
|
|
url: helpers.urlFormat('', '', item.brandDomain) + (isApp ? `?openby:yohobuy={"action":"go.brand","params":{"shop_id":${shopId},"brand_id":${item.id}}}` : ''), //eslint-disable-line
|
|
|
url: helpers.urlFormat('/', {brand: item.id, shop_id: shopId}, 'list') + (isApp ? `?openby:yohobuy={"action":"go.brand","params":{"shop_id":${shopId},"brand_id":${item.id}}}` : ''), //eslint-disable-line
|
|
|
img: helpers.image(item.brandIco, 640, 400),
|
|
|
brandName: item.brandName
|
|
|
});
|
...
|
...
|
|