平差上传测试完成,上传最后一步是注释状态

This commit is contained in:
2026-06-06 15:10:43 +08:00
parent c7ebac49a0
commit 00091172ee
8 changed files with 14 additions and 12 deletions

View File

@@ -88,7 +88,7 @@ def get_breakpoint_list():
else:
logging.info(f"接口返回错误: {result.get('code')}")
return [{
"id": 53,
"id": 21,
"user_name": "czsczq115ykl",
"name": "czsczq115ykl",
"line_num": "L220076",
@@ -434,7 +434,7 @@ def get_user_max_variation(username: str) -> Optional[int]:
try:
# 2. 发送POST请求
logging.info(f"向接口 {api_url} 发送请求,查询用户名:{username}")
logging.info(f"向接口 {api_url} 发送请求,查询用户名:{username}账号ID{account_id}")
response = requests.post(
url=api_url,
json=payload, # 自动将字典转为JSON字符串无需手动json.dumps()