Authored by htoooth

fix

... ... @@ -55,7 +55,8 @@ module.exports = () => {
if (guangDetailReg.test(url)) {
data.mobileRefer += url.replace(/\/guang\/info\/index/, '/info/index');
} else if (url === '/guang/index/editor') {
data.mobileRefer += `/author/${req.query.author_id}/`;
data.mobileRefer += `/author-${req.yoho.channel}-${req.query.author_id}/`;
req.query = {};
}
} else if (proRegNew.test(url)) {
data.mobileRefer = url.replace(proRegNew, `//${domain}/product/pro_$1_1/1.html$2`);
... ...