Reference. app.use(function * (next) { var ctx = this ctx.request ctx.response ctx.body = 'hello' ctx.state.user = yield User.find(id).fetch() ...
確定! 回上一頁