不是缺陷, 请教一个用法: 在didReady事件里面如何直接请求controller, 跳过所有中间件. 我们需要自己初始化request里的params和query. 现在直接请求, 连controller上的config都找不到: Cannot read property 'config' of undefined.
async didReady() {
const ctx = await this.app.createAnonymousContext()
await this.app.controller.home.index()
}
最小可复现仓库
不需要
复现步骤,错误日志以及相关配置不需要
相关环境信息不需要