chore: ping api call

This commit is contained in:
mokurin000
2025-07-30 01:54:02 +08:00
parent 41a2ad5ae1
commit 47dcc2e045

View File

@@ -3,12 +3,11 @@
import rapidjson as json
from API_TitleServer import apiSDGB
from MyConfig import testUid8
def apiGetUserPreview(userId, noLog: bool = False) -> str:
data = json.dumps({"userId": int(userId)})
preview_result = apiSDGB(data, "GetUserPreviewApi", userId, noLog)
print(apiSDGB("{}", "Ping", userId, noLog))
return preview_result