from Requests to HTTPX (Higher performance, I guess!)
This commit is contained in:
@@ -5,7 +5,7 @@ from API_TitleServer import apiSDGB
|
||||
|
||||
def apiGetUserData(userId:int) -> str:
|
||||
"""已弃用,将逐步淘汰"""
|
||||
logger.info("apiGetUserData 已弃用,将逐步淘汰。")
|
||||
#logger.info("apiGetUserData 已弃用,将逐步淘汰。")
|
||||
# 构建 Payload
|
||||
data = json.dumps({
|
||||
"userId": userId
|
||||
|
||||
Reference in New Issue
Block a user