Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
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
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
2016-04-28 19:46:32 +0800
Commit
293757f2844e179aa43d5bb8e1ff5ae31a8cc5e1
1 parent
a2a23656
main app router
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
dispatch.js
doraemon/router.js
dispatch.js
View file @
293757f
...
...
@@ -5,5 +5,8 @@
*/
module
.
exports
=
app
=>
{
//公共服务
//业务模块
app
.
use
(
'/guang'
,
require
(
'./apps/guang'
));
};
...
...
doraemon/router.js
0 → 100644
View file @
293757f
/**
* 通用路由处理
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2016/4/28
*/
'use strict'
;
const
router
=
require
(
'express'
).
Router
();
const
cRoot
=
'./controllers'
;
module
.
exports
=
router
;
\ No newline at end of file
...
...
Please
register
or
login
to post a comment