Tested and fixed stupid bug

This commit is contained in:
Remik1r3n
2025-01-23 19:16:27 +08:00
parent 83da4636ac
commit 6e05b211ac
3 changed files with 14 additions and 10 deletions

View File

@@ -170,7 +170,8 @@ if __name__ == "__main__":
logger.info("登录失败")
exit()
try:
logger.info(implLoginBonus(userId, currentLoginTimestamp, loginResult))
# Remember to change the mode to 1 if you want to give all bonuses
logger.info(implLoginBonus(userId, currentLoginTimestamp, loginResult, 1))
logger.info(apiLogout(currentLoginTimestamp, userId))
except:
logger.info(apiLogout(currentLoginTimestamp, userId))