正在显示
1 个修改的文件
包含
0 行增加
和
3 行删除
| @@ -7,9 +7,6 @@ router.prefix('/users') | @@ -7,9 +7,6 @@ router.prefix('/users') | ||
| 7 | router.post('/addUser',async (ctx, next) => { | 7 | router.post('/addUser',async (ctx, next) => { |
| 8 | var data = await userContoller.addUser(ctx, next); | 8 | var data = await userContoller.addUser(ctx, next); |
| 9 | status.res(ctx,200,data); | 9 | status.res(ctx,200,data); |
| 10 | - | ||
| 11 | - // ctx.response.status = 200; | ||
| 12 | - // ctx.response.body = data; | ||
| 13 | }) | 10 | }) |
| 14 | 11 | ||
| 15 | router.get('/bar', function (ctx, next) { | 12 | router.get('/bar', function (ctx, next) { |
-
请 注册 或 登录 后发表评论