router.js
455 Bytes
/**
* router of sub app me
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2016/07/04
*/
'use strict';
const router = require('express').Router(); // eslint-disable-line
const cRoot = './controllers';
// 帮助中心
const help = require(`${cRoot}/help`);
// 帮助中心
router.get('/index', help.index);
router.get('/detail', help.detail);
router.get('/search', help.search);
router.get('/onlineService', help.onlineService);
module.exports = router;