From 1eff89ee5bbddab6323d6b6d6b1fccb441401173 Mon Sep 17 00:00:00 2001 From: pplokijuhyg <1162963624@qq.com> Date: Tue, 12 Nov 2019 16:50:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=B8=80=E4=B8=AAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index b63900e..5f2c86a 100644 --- a/app.js +++ b/app.js @@ -5,8 +5,9 @@ const requter = require("./bin/router.js"); const app = new Koa(); app.use(async (ctx,next)=>{ // await next(); - ctx.response.body = {a:1}; - // next() + console.log(ctx.url) + // ctx.response.body = {a:1}; + next() console.log("执行") });