diff --git a/controllers/index.js b/controllers/index.js index db2074b..25a10e0 100644 --- a/controllers/index.js +++ b/controllers/index.js @@ -1,8 +1,8 @@ let index = async (ctx,next)=>{ console.log(ctx.request.body) ctx.body = "ok" + next() } - module.exports = { "POST /":index } \ No newline at end of file