m_anonymousLogin_api.yml
466 字节
name: 选择公司登录
base_url: ${ENV(base_business_admin)}
variables:
msg: ok
companyId: ${ENV(companyId)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
Authorization: Bearer $pwdLogintoken
json:
companyId: $companyId
method: POST
url: /auth/anonymousLogin
extract:
anonymousLogintoken: content.data.access.token
validate:
- eq:
- content.msg
- $msg