dispatch.js 268 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 /** * 路由分发 * @author: xuqi<qi.xu@yoho.cn> * @date: 2016/4/27 */ module.exports = app => { // 公共服务 app.use('/partial', require('./apps/partial')); // 组件demo // 业务模块 app.use('/passport', require('./apps/passport')); };