m_dividends_modify_api.yml 850 字节
name: 分红管理—修改数量or合伙人分红比例
base_url: ${ENV(base_manager_url)}
variables:
    orderId: ${convert_to_string(1072)}
    state: 1
    goodNumber: 50
    partnerBonusPercent: 10
    reason: '修改原因${get_stringcode(5)}'
    productId: ${convert_to_string(2132)}
teardown_hooks:
    - ${sleep(1)}
request:
    headers:
        Content-Type: application/json;charset=utf-8
        User-Agent: okhttp/3.12.3
        Authorization: Bearer ${get_m_accesstoken()}
    json:
        orderId: $orderId
        state: $state
        goodNumber: $goodNumber
        partnerBonusPercent: $partnerBonusPercent
        reason: $reason
        productId: $productId
    method: POST
    url: /v1/dividends/modify
#    extract:
#        - num: content.data.gridResult.totalRow
validate:
    -   eq:
        - content.msg
        - ok