Merge branch 'release/6.6.1' into 'gray'
mip product title See merge request !1421
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -21,7 +21,7 @@ exports.index = (req, res, next) => { | @@ -21,7 +21,7 @@ exports.index = (req, res, next) => { | ||
21 | if (!_.get(detailData, 'baseInfo.product_skn')) { | 21 | if (!_.get(detailData, 'baseInfo.product_skn')) { |
22 | return next(); | 22 | return next(); |
23 | } | 23 | } |
24 | - return res.render('product/detail', Object.assign({ | 24 | + return res.render('product/detail', Object.assign(detailData, { |
25 | title: `${detailData.title}-YOHO!BUY有货`, | 25 | title: `${detailData.title}-YOHO!BUY有货`, |
26 | css: yield css('product/detail.css'), | 26 | css: yield css('product/detail.css'), |
27 | localStyle: detailData.mipCss, | 27 | localStyle: detailData.mipCss, |
@@ -36,6 +36,6 @@ exports.index = (req, res, next) => { | @@ -36,6 +36,6 @@ exports.index = (req, res, next) => { | ||
36 | des: mipDes, | 36 | des: mipDes, |
37 | publishTime: '' | 37 | publishTime: '' |
38 | } | 38 | } |
39 | - }, detailData)); | 39 | + })); |
40 | })().catch(next); | 40 | })().catch(next); |
41 | }; | 41 | }; |
-
Please register or login to post a comment