list_api.yml 958 字节
name: 实发订单列表
base_url: ${ENV(base_url)}
variables:
    currtime: ${make_time()}
    uuid: ${make_uuid()}
    var_access_token: $accessToken
    sign: ${make_sign($currtime, $uuid, $var_access_token)}
    partnerId: ${ENV(partnerId_app)}
    msg: 成功
request:
    headers:
        Content-Type: application/json;charset=utf-8
        User-Agent: okhttp/3.12.3
        X-MMM-AccessToken: $var_access_token
        X-MMM-AppName: com.mmm.ability
        X-MMM-AppProject: ability
        X-MMM-DeviceType: '1'
        X-MMM-Sign: $sign
        X-MMM-Timestamp: $currtime
        X-MMM-Uuid: $uuid
        X-MMM-Version: 0.4.0
    json:
        startTime: ${get_starTimestamp()}
        endTime: ${get_endTimestamp()}
        pageIndex: 0
        pageSize: 20
        partnerId: ${convert_to_int($partnerId)}
        isToday: False
        joinWay:
    method: POST
    url: v1/order/list
validate:
    -   eq:
        - content.msg
        - $msg