feat(backend): RBAC admin roles + runtime logs service
This commit is contained in:
@@ -243,6 +243,12 @@ api_router.include_router(auth_wecom_sso_router, tags=["企微SSO"])
|
||||
from app.api.audit_logs import router as audit_logs_router
|
||||
api_router.include_router(audit_logs_router, tags=["审计日志"])
|
||||
|
||||
# 运行期日志 API (standard SOP 第三阶段 — 管理后台日志体系)
|
||||
# GET /api/admin/runtime-logs — 分页 + 多条件筛选(级别/时间/关键字)
|
||||
# GET /api/admin/runtime-logs?download=true — 命中行文本下载(附件)
|
||||
from app.api.runtime_logs import router as runtime_logs_router
|
||||
api_router.include_router(runtime_logs_router, tags=["运行期日志"])
|
||||
|
||||
# 阶段5 自动化闭环 API
|
||||
# POST /itportal/automation/sessions — 创建自动化会话
|
||||
# GET /itportal/automation/sessions — 会话列表
|
||||
|
||||
Reference in New Issue
Block a user