From 3f9d832aec19ae50d4469f58128c7032fdfcbe1d Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 24 Feb 2020 12:40:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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