• 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
  • ajax请求处理
    9c077ad7
    by 郭成尧
    2016-06-02 16:12:34 +0800  
    Browse File »
dispatch.js 385 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/**
 * 路由分发
 * @author: xuqi<qi.xu@yoho.cn>
 * @date: 2016/4/27
 */

module.exports = app => {

    // 公共服务

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

    // 业务模块
    // app.use('/', require('./apps/index'));
    app.use('/', require('./apps/product'));

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