🎨 使用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
+1 -5
View File
@@ -9,8 +9,7 @@ from playwright.async_api import async_playwright
from zhenxun.services.log import logger
from zhenxun.utils.message import MessageUtils
from ..core.player.player import CPlayer
from ..core.player.playerPool import g_pUserPool
from ..core import CPlayer, g_pUserPool
class CToolManager:
@@ -192,6 +191,3 @@ class CToolManager:
# 截图并保存到本地文件
await page.screenshot(path=save, full_page=True)
await browser.close()
g_pToolManager = CToolManager()