This commit is contained in:
Remik1r3n
2025-03-19 16:29:04 +08:00
parent 3710a42112
commit 8a91b15fea
2 changed files with 22 additions and 9 deletions

View File

@@ -12,9 +12,10 @@ def implGetUser_(thing:str, userId:int, noLog=False) -> dict:
# 返回 Dict
return userthingDict
def apiGetUserData(userId:int) -> str:
"""Now aka of implGetUser_(Data)"""
return implGetUser_("Data", userId)
# 已弃用
#def apiGetUserData(userId:int) -> str:
# """Now aka of implGetUser_(Data)"""
# return implGetUser_("Data", userId)
def apiGetUserThing(userId:int, thing:str, noLog=False) -> str:
"""获取用户数据的 API 请求器,返回 Json String"""