m_admin_detail_api.yml
452 字节
name: 管理员详情
base_url: ${ENV(base_manager_url)}
variables:
id: ${get_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:
id: $id
method: POST
url: v1/admin/detail
validate:
- eq:
- content.msg
- ok
- eq:
- content.data.status
- 1