m_partner_add_api.yml 588 字节
name: 合伙人添加
base_url: ${ENV(base_manager_url)}
request:
    headers:
        Content-Type: application/json;charset=utf-8
        User-Agent: okhttp/3.12.3
        Authorization: Bearer ${get_m_accesstoken()}
#
    json:
        partnerName: '卞信华'
        partnerType: 3
        area: '福建省福州市XXXXX区'
        account: $account
        state: 1
        cooperationTime: ${get_today()}
        salesmanName: '小小'
        phone: ${convert_to_string($account)}
    method: POST
    url: v1/partners/add
validate:
    -   eq:
        - content.msg
        - ok