m_partner_detail_api.yml
462 字节
name: 合伙人查看
base_url: ${ENV(base_manager_url)}
variables:
id: ${get_id_from_database(partner_info)}
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/partners/detail
validate:
- eq:
- content.msg
- ok
- eq:
- content.data.state
- $status