This commit is contained in:
qsc
2025-12-22 21:48:19 +08:00
parent c2be32b4ff
commit 4efb1da95b
4 changed files with 109 additions and 22 deletions
+2 -1
View File
@@ -67,7 +67,7 @@ class Jx3ApiPlugin(Star):
# 周期函数调用
self.kf_task = asyncio.create_task(self.at.cycle_kfjk())
self.xw_task = asyncio.create_task(self.at.cycle_xwzx())
# 初始化函数
#data=await self.jx3fun.SearchData()
#logger.info(data["msg"])
@@ -427,4 +427,5 @@ class Jx3ApiPlugin(Star):
await self.db.close()
# 后台z周期进程销毁
self.kf_task.cancel()
self.xw_task.cancel()
logger.info("jx3api插件已卸载/停用")