m_admin_update(edit)_api.yml
528 字节
name: 管理员修改
base_url: ${ENV(base_manager_url)}
variables:
account: ${get_admin_account_from_database(admin_user)}
id: ${get_admin_id_from_database(admin_user)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
account: $account
status: 1
id: $id
permissionType: [2,3,6]
method: POST
url: v1/admin/update
validate:
- eq:
- content.msg
- ok