添加插件管理功能,显示插件的相关信息。
This commit is contained in:
@@ -122,7 +122,8 @@ class DashboardServer:
|
||||
from admin.dashboard.blueprints.stats import stats_bp
|
||||
from admin.dashboard.blueprints.system import system_bp
|
||||
from admin.dashboard.blueprints.main import main_bp
|
||||
|
||||
from admin.dashboard.blueprints.plugin_routes import plugin_routes
|
||||
|
||||
# 将服务器实例存储在应用上下文中
|
||||
app.dashboard_server = self
|
||||
|
||||
@@ -134,6 +135,7 @@ class DashboardServer:
|
||||
app.register_blueprint(messages_bp)
|
||||
app.register_blueprint(stats_bp)
|
||||
app.register_blueprint(system_bp)
|
||||
app.register_blueprint(plugin_routes)
|
||||
|
||||
self.logger.info("所有蓝图已注册")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user