m_partner_edit_api.yml 758 字节
name: 合伙人编辑
base_url: ${ENV(base_manager_url)}
variables:
    id: 1046
request:
    headers:
        Content-Type: application/json;charset=utf-8
        User-Agent: okhttp/3.12.3
        Authorization: Bearer ${get_m_accesstoken()}
    json:
        partnerName: '合伙人姓名修改${get_stringcode(5)}'
        partnerType: [1,2,3,4]
        area: '合伙人所属区域修改${get_stringcode(5)}'
        account: 155${get_randint(10000000,99999999)}
        state: 0
        cooperationTime: ${get_today()}
        salesmanName: '业务员姓名修改${get_stringcode(5)}'
        phone: 155${get_randint(10000000,99999999)}
        id: $id
    method: POST
    url: /v1/partners/edit
validate:
    -   eq:
        - content.msg
        - ok