Authored by 周少峰

Merge branch 'feature/seo1203' into gray

... ... @@ -40,7 +40,7 @@ const seoMap = {
keywords: '配饰其他,女士配饰,女士时尚配饰,YOHO!BUY有货',
description: 'YOHO!BUY有货配饰其他频道提供新款女士配饰,时尚帽子、围巾、耳钉手链、腰带胸针等女士潮流配饰搭配商品。购买女士配饰就到YOHO!BUY有货,100%正品保证!'
},
'msort=365&gender=1,3': {
'msort=365&gender=1,3&order=s_t_desc': {
title: '男童服饰|男童上衣外套,下装,时尚男童鞋包配饰|YOHO!BUY有货 100%正品保证',
keywords: '男童服饰,男童上衣外套,男童下装,时尚男童鞋包配饰,YOHO!BUY有货',
description: 'YOHO!BUY有货男童服饰提供时尚男童上衣外套,下装,时尚男童鞋包配饰,教你穿出可爱,搭出时尚.购买当季最新款男童服饰就到YOHO!BUY有货,100%正品保证'
... ...
... ... @@ -13,7 +13,7 @@ module.exports = () => {
guangDetailReg = /.html$/;
if (req.subdomains.length > 1 && req.subdomains[1] === 'www') {
res.redirect(301, helpers.urlFormat(req.path, req.query, req.subdomains[0]));
res.redirect(301, helpers.urlFormat(req.path, req.query || '', req.subdomains[0]));
}
if (req.subdomains.length) {
switch (req.subdomains[0]) {
... ...