改为处理最后一个,修改api
This commit is contained in:
@ -14,6 +14,7 @@ class APIClient:
|
||||
self.not_pour_info_url =f"{BASE_URL}/api/ext/mould/not_pour_rfid" #f"{BASE_URL}/api/ext/artifact/not_pour"#调试修改
|
||||
self.app_id = None
|
||||
|
||||
|
||||
def hash_password(self, password):
|
||||
"""计算SHA256密码"""
|
||||
return password
|
||||
@ -34,7 +35,7 @@ class APIClient:
|
||||
print(f"登录请求异常: {e}")
|
||||
except Exception as e:
|
||||
print(f"登录过程中发生未知错误: {e}")
|
||||
|
||||
|
||||
print("登录失败,无法获取AppID")
|
||||
return None
|
||||
|
||||
@ -98,6 +99,6 @@ class APIClient:
|
||||
print(f"获取未浇筑信息请求异常: {e}")
|
||||
except Exception as e:
|
||||
print(f"获取未浇筑信息过程中发生未知错误: {e}")
|
||||
|
||||
|
||||
print("获取未浇筑信息失败")
|
||||
return None
|
||||
Reference in New Issue
Block a user