🎨 使用Python包管理和模块访问

🎨 重构数据库结构, 使用集中式服务定位器与数据库交互
🎨 更改部分代码逻辑, 减小内存消耗
This commit is contained in:
2025-11-30 16:45:13 +08:00
parent b4d3baebe6
commit a6691595e5
29 changed files with 1356 additions and 885 deletions
+37
View File
@@ -0,0 +1,37 @@
def getConfig():
from . import config
return config
def getDrawFarm():
from .darw.drawFarm import CDarwFarm
return CDarwFarm
def getRequestManager():
from .request import CRequestManager
return CRequestManager
def getToolManager():
from .tool import CToolManager
return CToolManager
def getJsonManager():
from .json import g_pJsonManager
return g_pJsonManager
__all__ = [
"getConfig",
"getDrawFarm",
"getJsonManager",
"getRequestManager",
"getToolManager",
]