diff --git a/LittlePaimon/plugins/Paimon_Autobbs/coin_handle.py b/LittlePaimon/plugins/Paimon_Autobbs/coin_handle.py index fb16f0b..6b578d5 100644 --- a/LittlePaimon/plugins/Paimon_Autobbs/coin_handle.py +++ b/LittlePaimon/plugins/Paimon_Autobbs/coin_handle.py @@ -202,11 +202,12 @@ class MihoyoBBSCoin: req = await aiorequests.post(url=bbs_Signurl, json={'gids': i['id']}, headers=header) data = req.json() if data['retcode'] != 0: - self.is_valid = False + if data['retcode'] not in [1034]: + self.is_valid = False self.state = 'Cookie已失效' if data['retcode'] in [-100, 10001] else f"出错了:{data['retcode']} {data['message']}" logger.info('米游币自动获取', f'➤➤{self.state}') - return self.state + return f'讨论区签到:{self.state}' await asyncio.sleep(random.randint(5, 10)) logger.info('米游币自动获取', '➤➤讨论区签到完成') return '讨论区签到:完成!'