AuthLite实现,ApiHash草稿,各种小改进

This commit is contained in:
Remik1r3n
2025-02-18 14:53:27 +08:00
parent 32d566841c
commit 7570fbc8f4
9 changed files with 228 additions and 13 deletions

View File

@@ -144,3 +144,11 @@ def generateLoginBonusList(UserLoginBonusList, generateMode=1):
logger.debug(f"ログインボーナスリスト: {bonusList}")
return bonusList
if __name__ == "__main__":
# ログインボーナスデータをアップロードする
userId = testUid
currentLoginTimestamp = generateTimestamp()
currentLoginResult = apiLogin(currentLoginTimestamp, userId)
implLoginBonus(userId, currentLoginTimestamp, currentLoginResult, 2)
apiLogout(currentLoginTimestamp, userId)