...
|
...
|
@@ -15,7 +15,6 @@ exports.index = (req, res, next) => { |
|
|
|
|
|
let detailData = yield req.ctx(productDetailModel).index(params);
|
|
|
let mipPic = _.get(detailData, 'baseInfo.goods_list[0].images_list[0].image_url');
|
|
|
let mipId = _.get(detailData, 'baseInfo.product_skn');
|
|
|
let mipDes = _.get(detailData, 'baseInfo.phrase');
|
|
|
let miptitle = _.get(detailData, 'baseInfo.product_name');
|
|
|
|
...
|
...
|
@@ -28,14 +27,11 @@ exports.index = (req, res, next) => { |
|
|
currentHref: `https://m.yohobuy.com/product/${detailData.baseInfo.product_skn}.html`
|
|
|
},
|
|
|
showAnaJson: {
|
|
|
mipsite: false,
|
|
|
miptitle: `${miptitle} | Yoho!Buy有货 | 潮流购物逛不停`,
|
|
|
mipId: mipId,
|
|
|
mipPublishTime: '',
|
|
|
mipPic: mipPic,
|
|
|
mipDes: mipDes,
|
|
|
mipUrl: `${req.protocol}://m.yohobuy.com${req.originalUrl}`,
|
|
|
miphtml: `${req.protocol}://m.yohobuy.com/mip/product/${mipId}.html`
|
|
|
url: `${req.protocol}://m.yohobuy.com${req.originalUrl}`,
|
|
|
title: `${miptitle} | Yoho!Buy有货 | 潮流购物逛不停`,
|
|
|
pic: mipPic,
|
|
|
des: mipDes,
|
|
|
publishTime: ''
|
|
|
}
|
|
|
}, detailData));
|
|
|
})().catch(next);
|
...
|
...
|
|