router.js
605 Bytes
/**
* router of sub app channel
* @author: Bi Kai<kai.bi@yoho.cn>
* @date: 2016/05/09
*/
'use strict';
const express = require('express');
const cRoot = './controllers';
const channel = require(cRoot);
const router = express.Router(); // eslint-disable-line
router.get('/boys', channel.switchChannel, channel.boys);
// router.get('/girls', channel.switchChannel, channel.girls);
// router.get('/kids', channel.switchChannel, channel.kids);
// router.get('/lifestyle', channel.switchChannel, channel.lifestyle);
router.get('/channel/bottomBanner', channel.bottomBanner);
module.exports = router;