摘要: // 洋葱模型特点; // 引入 Koa const Koa = require("koa"); // 创建服务 const app = new Koa(); app.use(async (ctx, next) => { console.log(1); await next(); console.log(2); }); app.use(async (ctx, next) => ... 阅读全文
posted @ 2019-07-17 11:14 kite3 阅读(183) 评论(0) 推荐(0)