/**
* 路由分发
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2016/4/27
*/
module.exports = app => {
app.use('/', require('./apps/channel'));
app.use('/home', require('./apps/home'));
// 组件示例
if (app.locals.devEnv) {
app.use('/example', require('./apps/example'));
}
};