router.js 366 Bytes
/**
 * router of sub app channel
 * @author: Bi Kai<kai.bi@yoho.cn>
 * @date: 2016/05/09
 */

'use strict';

const expressRouter = require('express').Router;
const cRoot = './controllers';
const example = require(cRoot);

const router = expressRouter();

router.get('/', example.index); // 首页
router.get('/app', example.app); // 首页

module.exports = router;