m_admin_update_api.yml
622 字节
name: 编辑用户
base_url: ${ENV(base_manager_url)}
variables:
id: 123456
account: '19911111111'
permissionType:
status: 1
checkedPartner:
isSenior: 2
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
id: $id
account: $account
permissionType: $permissionType
status: $status
checkedPartner: $checkedPartner
isSenior: $isSenior
method: POST
url: /v1/admin/update
validate:
- eq:
- content.msg
- ok