...
|
...
|
@@ -203,8 +203,16 @@ exports.processProductList = (list, options) => { |
|
|
product.is_few = product.is_soon_sold_out === 'Y';
|
|
|
product.url = helpers.getUrlBySkc(product.product_id, _.get(product, 'goods_list[0].goods_id'), product.cn_alphabet);// eslint-disable-line
|
|
|
|
|
|
// tar add 1606071146 品牌链接处理
|
|
|
product.brandUrl = helpers.urlFormat('', '', product.brand_domain);
|
|
|
// 4.6需求 商品列表显示店铺名
|
|
|
if (product.shop_id * 1) {
|
|
|
product.brand_name = product.shop_name;
|
|
|
product.brandUrl = helpers.urlFormat('', {
|
|
|
shopId: product.shop_id
|
|
|
}, product.shop_domain || 'default-domain');
|
|
|
} else {
|
|
|
// tar add 1606071146 品牌链接处理
|
|
|
product.brandUrl = helpers.urlFormat('', '', product.brand_domain);
|
|
|
}
|
|
|
|
|
|
// TODO 删除from参数,暂时保留注释
|
|
|
// if (itemFrom) {
|
...
|
...
|
|