Showing
1 changed file
with
3 additions
and
1 deletions
@@ -31,7 +31,9 @@ const _processBrandShops = (list) => { | @@ -31,7 +31,9 @@ const _processBrandShops = (list) => { | ||
31 | _.forEach(list, item => { | 31 | _.forEach(list, item => { |
32 | if (item.shop_type === 'yoho_shop') { | 32 | if (item.shop_type === 'yoho_shop') { |
33 | formatDat.push({ | 33 | formatDat.push({ |
34 | - url: helpers.urlFormat('/product/index/brand/', { | 34 | + url: parseInt(item.is_red_shop, 10) === 1 ? helpers.urlFormat('/product/red-shop', { |
35 | + shop_id: item.shop_id | ||
36 | + }) : helpers.urlFormat('/product/index/brand/', { | ||
35 | shop_id: item.shop_id | 37 | shop_id: item.shop_id |
36 | }), | 38 | }), |
37 | thumb: helpers.image(item.shop_logo, 75, 40), | 39 | thumb: helpers.image(item.shop_logo, 75, 40), |
-
Please register or login to post a comment