Authored by 郭成尧

'hotrank-route'

... ... @@ -34,6 +34,10 @@ module.exports = () => {
res.redirect(301, helpers.urlFormat('/cart/index/index', req.query, 'default'));
return;
case 'new': // new.m.yohobuy.com 全部跳转到 m.yohobuy.com
if (req.path === '/hotrank') {
res.redirect(301, helpers.urlFormat('/product/newsale/hotrank', req.query, 'default'));
return;
}
res.redirect(301, helpers.urlFormat(req.path, req.query, 'default'));
return;
case 'item': // item.m.yohobuy.com 全部跳转到 m.yohobuy.com
... ...