anonymousLogin_api.yml 735 字节
name: 登录公司
base_url: ${ENV(base_business_url)}
verify: False
teardown_hooks:
    - ${teardown_hook_get_access_token($response)}
request:
    headers:
        Content-Type: application/json; charset=UTF-8
        Authorization: Bearer ${get_Authorization()}
        Origin: https://enterprise-platform-dev.fjmaimaimai.com
        Referer: https://enterprise-platform-dev.fjmaimaimai.com/
        User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
        X-Requested-With: XMLHttpRequest
    json:
        companyId: $companyId
    method: POST
    url: auth/anonymousLogin
validate:
-   eq:
    - content.code
    - 0
-   eq:
    - content.msg
    - ok