结构调整
视频解析多图/多媒体结构 消息体适配
This commit is contained in:
@@ -16,7 +16,7 @@ from .utils.war_renderer import render_war_briefing # noqa: F401
|
||||
from .utils import gen_ms_img, pic2b64 # noqa: F401
|
||||
from .services.equipment_store import init_db as _init_equipment_db
|
||||
from .web import stratagem_admin as _stratagem_admin
|
||||
from hexi.web_plugin_registry import register_web_plugin
|
||||
from hexi.web_hub.web_plugin_registry import register_web_plugin
|
||||
|
||||
__plugin_meta__ = PluginMetadata(
|
||||
name="绝地潜兵小助手",
|
||||
@@ -47,7 +47,7 @@ register_web_plugin(
|
||||
logger.info("战备管理 Web 插件已注册(/api/helldivers)")
|
||||
|
||||
# 统一配置标准:把 API 相关配置暴露给 Web 管理台(/hub 插件配置)
|
||||
from hexi.config_standard import register_model_config # noqa: E402
|
||||
from hexi.web_hub.config_standard import register_model_config # noqa: E402
|
||||
from .config import config as _hd2_config # noqa: E402
|
||||
|
||||
register_model_config(
|
||||
|
||||
Reference in New Issue
Block a user