Authored by 周少峰

kids brands

... ... @@ -18,6 +18,9 @@ router.get('/brands', brandsController.index); // 暂时保留
router.get(/\/(boys|girls|kids|lifestyle)-brands(\/)?$/,
function(req, res, next) {
req.query.channel = req.params[0];
if (req.query.channel === 'kids') {
req.query.msort =365;
}
next();
}, brandsController.index);
... ...