mirror of
https://gitee.com/mao-peng/MangoTestingPlatform.git
synced 2025-12-06 11:59:15 +08:00
优化
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user