From 9a2e8bd1edfbb1a2327168ea7630d3563e40e31f Mon Sep 17 00:00:00 2001 From: mokurin000 <1348292515a@gmail.com> Date: Tue, 29 Jul 2025 15:20:28 +0800 Subject: [PATCH] feat:: custom uid input --- ActionUnlockItem.py | 2 +- ChargeTicket.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ActionUnlockItem.py b/ActionUnlockItem.py index 09f5377..48dc8c9 100644 --- a/ActionUnlockItem.py +++ b/ActionUnlockItem.py @@ -43,7 +43,7 @@ def implUnlockMusic( if __name__ == "__main__": - userId = testUid8 + userId = int(input("type user id: ").strip() or "0") or testUid8 currentLoginTimestamp = generateTimestamp() loginResult = apiLogin(currentLoginTimestamp, userId) diff --git a/ChargeTicket.py b/ChargeTicket.py index 2ce7f49..d411d37 100644 --- a/ChargeTicket.py +++ b/ChargeTicket.py @@ -17,7 +17,6 @@ from MyConfig import testUid2 from HelperLogInOut import apiLogin, apiLogout, generateTimestamp from HelperFullPlay import implFullPlayAction, generateMusicData -from HelperGetUserThing import implGetUser_ def implWipeTickets(userId: int, currentLoginTimestamp: int, currentLoginResult) -> str: