由于ThinkJS 3.0 是基于Koa@2 版本之上构建的,所以完全兼容Koa 里的中间件。 中间件格式. module.exports = options => { return (ctx, next) => { // do something } }.
確定! 回上一頁