Showing
1 changed file
with
2 additions
and
1 deletions
@@ -55,7 +55,8 @@ module.exports = () => { | @@ -55,7 +55,8 @@ module.exports = () => { | ||
55 | if (guangDetailReg.test(url)) { | 55 | if (guangDetailReg.test(url)) { |
56 | data.mobileRefer += url.replace(/\/guang\/info\/index/, '/info/index'); | 56 | data.mobileRefer += url.replace(/\/guang\/info\/index/, '/info/index'); |
57 | } else if (url === '/guang/index/editor') { | 57 | } else if (url === '/guang/index/editor') { |
58 | - data.mobileRefer += `/author/${req.query.author_id}/`; | 58 | + data.mobileRefer += `/author-${req.yoho.channel}-${req.query.author_id}/`; |
59 | + req.query = {}; | ||
59 | } | 60 | } |
60 | } else if (proRegNew.test(url)) { | 61 | } else if (proRegNew.test(url)) { |
61 | data.mobileRefer = url.replace(proRegNew, `//${domain}/product/pro_$1_1/1.html$2`); | 62 | data.mobileRefer = url.replace(proRegNew, `//${domain}/product/pro_$1_1/1.html$2`); |
-
Please register or login to post a comment