...
|
...
|
@@ -1192,9 +1192,9 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => { |
|
|
result.recommendKeywords = getKeywordsInfo(recommendKeywords);
|
|
|
|
|
|
// 处理店铺推荐
|
|
|
result.shopRecommend = _.map(_.get(requestData, 'shopRecommend.data.product_list', ''), val =>{
|
|
|
return Object.assign({url: Helpers.getUrlBySkc(val.product_skn)}, val);
|
|
|
});
|
|
|
result.shopRecommend = productProcess.processProductList(
|
|
|
_.get(requestData, 'shopRecommend.data.product_list', '')
|
|
|
);
|
|
|
|
|
|
// 商品标签
|
|
|
result.tags = _getTagsDataByProductInfo(origin);
|
...
|
...
|
@@ -1676,7 +1676,7 @@ const recommendAsync = (skn, page, limit) => { |
|
|
|
|
|
let products = _.get(recommendData, 'data.product_list', []).map((rp) => {
|
|
|
let salePrice = rp.sales_price;
|
|
|
let marketPrice = rp.market_price;
|
|
|
let marketPrice = rp.market_price > rp.market_price ? rp.market_price : '';
|
|
|
|
|
|
let defaultGoods = _.find(rp.goods_list, {is_default: 'Y'});
|
|
|
|
...
|
...
|
|