We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// 注册路由的命名空间 registerRouterNamespace(name, value = []) { return this.serverOptions.runtimeRouters[name] = value; } // 获取运行时的所有路由 getRuntimeRouters() { const runtimeRouters = this.serverOptions.runtimeRouters; return values(runtimeRouters).reduce((prev, item) => prev.concat(item), []); } // 对运行时代的路由进行有副作用的修改 updateRuntimeRouters(fn) { return fn(this.getRuntimeRouters()) }
The text was updated successfully, but these errors were encountered:
ImHype
No branches or pull requests
serverPlugin.server 新增接口
The text was updated successfully, but these errors were encountered: