解小黑屋现可投入测试

This commit is contained in:
Your Name
2025-02-07 18:36:47 +08:00
parent 5c7414d173
commit 0edd75f60f
6 changed files with 28 additions and 19 deletions

View File

@@ -6,11 +6,11 @@ from Config import *
import time
import random
def apiGetUserPreview(userId) -> str:
def apiGetUserPreview(userId, noLog:bool=False) -> str:
data = json.dumps({
"userId": int(userId)
})
preview_result = apiSDGB(data, "GetUserPreviewApi", userId)
preview_result = apiSDGB(data, "GetUserPreviewApi", userId, noLog)
return preview_result
# CLI 示例