This commit is contained in:
qsc
2025-12-03 13:31:28 +08:00
parent 3478aa977a
commit 73681864b3
5 changed files with 892 additions and 3 deletions
+3 -3
View File
@@ -8,8 +8,8 @@ from astrbot.api.star import Context, Star, register, StarTools
from astrbot.api import logger
from astrbot.api import AstrBotConfig
from .core.AsyncMySQL import AsyncMySQL
from .core.JX3Function import JX3Function
from .core.async_mysql import AsyncMySQL
from .core.jx3_service import JX3Service
from .core.WZRYFunction import WZRYFunction
@@ -52,7 +52,7 @@ class Jx3ApiPlugin(Star):
}
#创建类实例
self.db = AsyncMySQL(db_config)
self.jx3fun = JX3Function(self.api_config,self.db)
self.jx3fun = JX3Service(self.api_config,self.db)
self.wzry = WZRYFunction(self.api_config,self.db)
# 周期函数调用