member_set_permission_api.yml 872 字节
name: 成员管理设置权限
base_url: ${ENV(base_worth_url)}
verify: False
variables:
    id: ${get_uid_from_database()}
request:
    headers:
        Content-Type: application/json; charset=UTF-8
        Authorization: Bearer ${get_task_Authorization()}
        Origin: https://value-test.fjmaimaimai.com
        Referer: https://value-test.fjmaimaimai.com/
        User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
        X-Requested-With: XMLHttpRequest
    json:
        id: $id
        permissionType:
            -  1
            -  2
            -  3
            -  4
    method: POST
    url: member/set-permission
validate:
    -   eq:
        - content.code
        - 0
    -   eq:
        - content.msg
        - ok
    -   eq:
        - content.data.employeeInfo.uid
        - $id