orders_api.yml
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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)}
startTime: 0
endTime: ${get_nowTimestamp_1()}
partnerId: ${ENV(partnerId)}
###明细类型
detailAction: ${convert_to_int($detailAction)}
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: $startTime
endTime: $endTime
detailAction: $detailAction
joinWays: $joinWays
pageIndex: 0
pageSize: 100
partnerId: ${convert_to_int($partnerId)}
method: POST
url: v1/dividend/orders
validate:
- eq:
- content.msg
- $msg