变频器集成以及增加点动控制(0209)
This commit is contained in:
@ -58,7 +58,7 @@ class BaseHttpClient:
|
||||
# 解析JSON响应
|
||||
return response.json()
|
||||
|
||||
except exception as e:
|
||||
except Exception as e:
|
||||
# 如果是最后一次尝试,直接抛出异常
|
||||
if attempt == retries:
|
||||
print(f"请求失败(第{attempt + 1}次尝试): {e}")
|
||||
|
||||
Reference in New Issue
Block a user