perf: 通用模块分出认证模块

This commit is contained in:
TsMask
2025-03-19 11:32:57 +08:00
parent add8b9d581
commit 5040a5ae40
14 changed files with 120 additions and 113 deletions

View File

@@ -8,6 +8,7 @@ import (
"be.ems/src/framework/middleware"
"be.ems/src/framework/middleware/security"
"be.ems/src/framework/utils/machine"
"be.ems/src/modules/auth"
"be.ems/src/modules/chart"
"be.ems/src/modules/common"
"be.ems/src/modules/crontask"
@@ -96,10 +97,12 @@ func initDefeat(app *gin.Engine) {
// 初始模块路由
func initModulesRoute(app *gin.Engine) {
// 通用模块
common.Setup(app)
// 系统模块
system.Setup(app)
// 认证模块
auth.Setup(app)
// 通用模块
common.Setup(app)
// 网元功能模块
networkelement.Setup(app)
// 网元数据模块