平差上传测试完成,上传最后一步是注释状态
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user