feat: Web UI 实现 - 暗黑主题 + 频道配置 + 连接测试 + 会话监控

This commit is contained in:
2026-03-14 22:26:00 +08:00
parent 0003e5f69f
commit 657a3440b9
15 changed files with 1816 additions and 0 deletions

16
app/web/__init__.py Normal file
View File

@@ -0,0 +1,16 @@
"""
Web UI 模块
智队中枢 Web 管理界面
"""
from flask import Blueprint
web_bp = Blueprint('web', __name__)
# 延迟导入,避免循环依赖
def register_web_blueprints(app):
"""注册 Web UI 蓝图"""
from app.web.routes import web_bp
from app.web.api import web_api_bp
app.register_blueprint(web_bp)
app.register_blueprint(web_api_bp)