Authored by 周少峰

kids brands

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