From 1cf1123d15ab2464fbe96cb7088a1f7ba5194e76 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 24 Feb 2020 12:44:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE?= 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 b3c56d8..69d2872 100644 --- a/controllers/index.js +++ b/controllers/index.js @@ -1,5 +1,5 @@ let index = async (ctx,next)=>{ - console.log(ctx.request.body) + console.log(JSON.stringify(ctx.query)) ctx.body = "ok" next() }