router.js
377 Bytes
/**
* router of sub app channel
* @author: yyq<yanqing.yang@yoho.cn>
* @date: 2016/06/29
*/
'use strict';
const router = require('express').Router(); // eslint-disable-line
const cRoot = './controllers';
// Your controller here
const channelController = require(`${cRoot}/index`);
// 频道页路由
router.get('/', channelController.index);
module.exports = router;