from Requests to HTTPX (Higher performance, I guess!)

This commit is contained in:
Remik1r3n
2025-02-06 23:30:49 +08:00
parent e73bdcda66
commit a16525c52e
8 changed files with 117 additions and 81 deletions

View File

@@ -60,3 +60,10 @@ def implBuyTicket(userId:int, ticketType:int):
getTicketResponseStr = apiBuyTicket(userId, ticketType, ticketType-1, playerRating, playCount)
# 返回结果
return getTicketResponseStr
if __name__ == "__main__":
userId = testUid2
ticketType = 3
print(implBuyTicket(userId, ticketType))
print(apiQueryTicket(userId))