feat: Web UI 实现 - 暗黑主题 + 频道配置 + 连接测试 + 会话监控
This commit is contained in:
16
app/web/__init__.py
Normal file
16
app/web/__init__.py
Normal 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)
|
||||
Reference in New Issue
Block a user