初步实现数据加密、权限管理、日志审计等功能

This commit is contained in:
2026-02-02 10:09:28 +08:00
parent b6b37a453b
commit 807e634318
27 changed files with 3787 additions and 59 deletions

View File

@@ -12,6 +12,8 @@ from app.api.v1.endpoints import (
misc,
risk,
cache,
user_management, # 新增:用户管理
audit, # 新增:审计日志
)
from app.api.v1.endpoints.network import (
general,
@@ -42,6 +44,8 @@ api_router = APIRouter()
# Core Services
api_router.include_router(auth.router, tags=["Auth"])
api_router.include_router(user_management.router, prefix="/users", tags=["User Management"]) # 新增
api_router.include_router(audit.router, prefix="/audit", tags=["Audit Logs"]) # 新增
api_router.include_router(project.router, tags=["Project"])
# Network Elements (Node/Link Types)