This commit is contained in:
毛鹏
2025-11-28 20:07:45 +08:00
parent 811b401d99
commit ed5279a6bb

View File

@@ -71,6 +71,7 @@ class HttpClientApi(HttpBase):
'password': EncryptionTool.md5_32_small(password),
'version': settings.SETTINGS.get('version')
})
print('登录', retry, response.text)
if response.data and response.code == 200:
log.info(response.model_dump())
cls.headers['Authorization'] = response.data.get('token')