第一版

This commit is contained in:
2020-02-24 11:25:55 +08:00
parent 00f138d4aa
commit 13eec9903c
2 changed files with 47 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
let index = async (ctx,next)=>{
ctx.body = ""
console.log(ctx.request.body)
ctx.body = "ok"
}
module.exports = {
"GET /":index
"POST /":index
}