Authored by htoooth

Merge branch 'feature/seoUrl' into release/5.4.1

... ... @@ -43,7 +43,7 @@ files.forEach((file) => {
// 选择模块
const loadRule = (domain) => {
return domainRules[domain] || domain.default;
return domainRules[domain] || domainRules.default;
};
// 已处理完
... ...
... ... @@ -56,7 +56,6 @@ module.exports = () => {
data.mobileRefer += url.replace(/\/guang\/info\/index/, '/info/index');
} else if (url === '/guang/index/editor') {
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`);
... ...