• This project
    • Loading...
  • Sign in

fe / yohobuy-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 1
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuy-node
  • dispatch.js
  • update
    02f3b114
    by biao
    2016-05-17 21:08:03 +0800  
    Browse Directory »
dispatch.js 288 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/**
 * 路由分发
 * @author: xuqi<qi.xu@yoho.cn>
 * @date: 2016/4/27
 */

module.exports = app => {

    // 公共服务

    // 专题活动等活动页面
    app.use(require('./apps/activity'));

    // 业务模块

    // 频道页
    app.use('/', require('./apps/channel'));
};