feat: 添加系统备份功能,权限控制分配

This commit is contained in:
TsMask
2025-09-19 16:11:57 +08:00
parent 1a475c6b35
commit ced1477938
12 changed files with 368 additions and 81 deletions

View File

@@ -274,6 +274,14 @@ func Setup(router *gin.Engine) {
middleware.PreAuthorize(nil),
controller.NewBackup.FTPPush,
)
backupGroup.POST("/import-omc",
middleware.PreAuthorize(nil),
controller.NewBackup.ImportOMC,
)
backupGroup.POST("/export-omc",
middleware.PreAuthorize(nil),
controller.NewBackup.ExportOMC,
)
}
// 网元UDM 签约用户信息