...
|
...
|
@@ -31,7 +31,9 @@ const _processBrandShops = (list) => { |
|
|
_.forEach(list, item => {
|
|
|
if (item.shop_type === 'yoho_shop') {
|
|
|
formatDat.push({
|
|
|
url: helpers.urlFormat('/product/index/brand/', {
|
|
|
url: parseInt(item.is_red_shop, 10) === 1 ? helpers.urlFormat('/product/red-shop', {
|
|
|
shop_id: item.shop_id
|
|
|
}) : helpers.urlFormat('/product/index/brand/', {
|
|
|
shop_id: item.shop_id
|
|
|
}),
|
|
|
thumb: helpers.image(item.shop_logo, 75, 40),
|
...
|
...
|
|