Merge branch 'hotfix/mobileRefer' into gray
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -52,7 +52,7 @@ module.exports = () => { | @@ -52,7 +52,7 @@ module.exports = () => { | ||
52 | } else if (url === '/product/index/brand') { | 52 | } else if (url === '/product/index/brand') { |
53 | data.mobileRefer = `//${req.query.domain}.${domain}`; | 53 | data.mobileRefer = `//${req.query.domain}.${domain}`; |
54 | } else if (url === '/product/search/index') { | 54 | } else if (url === '/product/search/index') { |
55 | - data.mobileRefer = `//search.${domain}${req.url}`; | 55 | + data.mobileRefer = `//search.${domain}?${queryString.stringify(req.query)}`; |
56 | } else if (url === '/guang/') { | 56 | } else if (url === '/guang/') { |
57 | req.query.gender = genderMap[req.query.channel]; | 57 | req.query.gender = genderMap[req.query.channel]; |
58 | _.unset(req.query, 'channel'); | 58 | _.unset(req.query, 'channel'); |
-
Please register or login to post a comment