调整部分前端布局和后端增删改逻辑

This commit is contained in:
焦龙言
2026-09-20 10:38:10 +08:00
parent acddc8a237
commit 3edba99d2d
227 changed files with 122871 additions and 839 deletions
@@ -0,0 +1,29 @@
from importlib import import_module
from types import ModuleType
class AppInfrastructureGateway:
"""
应用基础设施网关。
该对象负责延迟加载应用实例构建和环境配置模块,
供应用运行时 facade 与其协作对象统一复用。
"""
@staticmethod
def get_server_module() -> ModuleType:
"""
获取应用 server 模块。
:return: server 模块
"""
return import_module('server')
@staticmethod
def get_env_module() -> ModuleType:
"""
获取环境配置模块。
:return: 环境配置模块
"""
return import_module('config.env')