This commit is contained in:
张成
2026-04-01 13:05:27 +08:00
parent 6f61287c70
commit e9fd55666f
18 changed files with 9301 additions and 251 deletions

View File

@@ -3,8 +3,9 @@
* 基于 node-core-framework 的配置
*/
const baseConfig = require('./config.js');
const customSchemas = require('./custom.schemas.js');
const baseConfig = require("./config.js");
const customSchemas = require("./custom.schemas.js");
const beforeInitApi = require("./before_init_api");
module.exports = {
// ===== 必需配置 =====
@@ -119,6 +120,9 @@ module.exports = {
// 自定义 Swagger Schemas
customSchemas: customSchemas
customSchemas: customSchemas,
// 路由流水线早期回调:注册转发等 addRoutes勿在 init 之后散落注册)
beforeInitApi,
};