✨ 新增每天00:30检查签到文件

This commit is contained in:
2025-05-29 18:20:03 +08:00
parent a475d0188b
commit 1ef506d2fd
31 changed files with 172 additions and 24 deletions
+9 -6
View File
@@ -24,12 +24,7 @@ class CJsonManager:
if not await self.initSoil():
return False
if not await g_pRequestManager.initSignInFile():
config.g_bSignStatus = False
return False
else:
return await self.initSign()
return await self.initSignInFile()
async def initItem(self) -> bool:
try:
@@ -79,6 +74,14 @@ class CJsonManager:
logger.warning(f"soil.json JSON格式错误: {e}")
return False
async def initSignInFile(self) -> bool:
if not await g_pRequestManager.initSignInFile():
config.g_bSignStatus = False
return False
else:
return await self.initSign()
async def initSign(self) -> bool:
try:
with open(