Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
付智勇
/
koa2_Sequelize_project
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
付智勇
8 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b8e3060c8a077015bdcc044c5332b84c6f013851
b8e3060c
1 parent
0e490ab3
no message
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
0 行增加
和
3 行删除
routes/users.js
routes/users.js
查看文件 @
b8e3060
...
...
@@ -7,9 +7,6 @@ router.prefix('/users')
router
.
post
(
'/addUser'
,
async
(
ctx
,
next
)
=>
{
var
data
=
await
userContoller
.
addUser
(
ctx
,
next
);
status
.
res
(
ctx
,
200
,
data
);
// ctx.response.status = 200;
// ctx.response.body = data;
})
router
.
get
(
'/bar'
,
function
(
ctx
,
next
)
{
...
...
请
注册
或
登录
后发表评论