摘要: 1. compose compose(middlewares) // middleware应该是回调, 所有用async-await. middlewares = [async (ctx, next)=>{ log1, await next(), log2 }, async (ctx, next) 阅读全文
posted @ 2020-07-23 23:23 connie313 阅读(251) 评论(0) 推荐(0) 编辑