✨ 新增每天00:30检查签到文件
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user