Authored by yyq

search

... ... @@ -52,7 +52,7 @@ module.exports = () => {
} else if (url === '/product/index/brand') {
data.mobileRefer = `//${req.query.domain}.${domain}`;
} else if (url === '/product/search/index') {
data.mobileRefer = `//search.${domain}${req.url}`;
data.mobileRefer = `//search.${domain}?${queryString.stringify(req.query)}`;
} else if (url === '/guang/') {
req.query.gender = genderMap[req.query.channel];
_.unset(req.query, 'channel');
... ...