作者 dengyuting

还原

1 -name: 查看实际订单列表 1 +name: 合伙人搜索——实际订单列表
2 base_url: ${ENV(base_manager_url)} 2 base_url: ${ENV(base_manager_url)}
3 -#variables:  
4 -# partnerCategoryName: ''  
5 -# orderCode: ''  
6 -# updateTime: ''  
7 -# deliveryCode: ''  
8 -# partnerName: '' 3 +variables:
  4 + partnerCategoryName: ''
  5 + partnerName: ''
  6 + orderCode: ''
  7 + deliveryCode: ''
  8 + partnerCategory: 1
  9 + updateTime:
  10 + createTime:
  11 + saleDate:
9 request: 12 request:
10 headers: 13 headers:
11 Content-Type: application/json;charset=utf-8 14 Content-Type: application/json;charset=utf-8
@@ -13,7 +16,15 @@ request: @@ -13,7 +16,15 @@ request:
13 Authorization: Bearer ${get_m_accesstoken()} 16 Authorization: Bearer ${get_m_accesstoken()}
14 json: 17 json:
15 pageNumber: 1 18 pageNumber: 1
16 - pageSize: 500 19 + pageSize: 10
  20 + partnerCategoryName: $partnerCategoryName
  21 + partnerCategory: $partnerCategory
  22 + partnerName: $partnerName
  23 + updateTime: $updateTime
  24 + createTime: $createTime
  25 + orderCode: $orderCode
  26 + deliveryCode: $deliveryCode
  27 + saleDate: $saleDate
17 method: POST 28 method: POST
18 url: /v1/order/actual/list 29 url: /v1/order/actual/list
19 validate: 30 validate:
1 -name: 管理员修改 1 +name: 编辑用户
2 base_url: ${ENV(base_manager_url)} 2 base_url: ${ENV(base_manager_url)}
3 - 3 +variables:
  4 + id: 123456
  5 + account: '19911111111'
  6 + permissionType:
  7 + status: 1
  8 + checkedPartner:
  9 + isSenior: 2
4 request: 10 request:
5 headers: 11 headers:
6 Content-Type: application/json;charset=utf-8 12 Content-Type: application/json;charset=utf-8
7 User-Agent: okhttp/3.12.3 13 User-Agent: okhttp/3.12.3
8 Authorization: Bearer ${get_m_accesstoken()} 14 Authorization: Bearer ${get_m_accesstoken()}
9 json: 15 json:
10 - account: ${convert_to_string(17770000018)}  
11 - id: ${convert_to_int(3290261005676032)}  
12 - permissionType:  
13 - - 8  
14 - status: 1  
15 - isAdmin: 1  
16 - name: 'zhaoliu'  
17 - checkedPartner: []  
18 - isSenior: 1 16 + id: $id
  17 + account: $account
  18 + permissionType: $permissionType
  19 + status: $status
  20 + checkedPartner: $checkedPartner
  21 + isSenior: $isSenior
19 method: POST 22 method: POST
20 url: /v1/admin/update 23 url: /v1/admin/update
21 -#validate:  
22 -# - eq:  
23 -# - content.msg  
24 -# - ok  
  24 +validate:
  25 + - eq:
  26 + - content.msg
  27 + - ok
1 name: 事业分红详情 1 name: 事业分红详情
2 base_url: ${ENV(base_manager_url)} 2 base_url: ${ENV(base_manager_url)}
  3 +variables:
  4 + id: '1051'
3 request: 5 request:
4 headers: 6 headers:
5 Content-Type: application/json;charset=utf-8 7 Content-Type: application/json;charset=utf-8
@@ -15,3 +17,4 @@ validate: @@ -15,3 +17,4 @@ validate:
15 - eq: 17 - eq:
16 - content.msg 18 - content.msg
17 - ok 19 - ok
  20 +
1 name: 分红管理—修改数量or合伙人分红比例 1 name: 分红管理—修改数量or合伙人分红比例
2 base_url: ${ENV(base_manager_url)} 2 base_url: ${ENV(base_manager_url)}
3 variables: 3 variables:
4 -# orderId: ${convert_to_string(1072)} 4 + orderId: ${convert_to_string(1072)}
5 state: 1 5 state: 1
6 goodNumber: 50 6 goodNumber: 50
7 partnerBonusPercent: 10 7 partnerBonusPercent: 10
8 reason: '修改原因${get_stringcode(5)}' 8 reason: '修改原因${get_stringcode(5)}'
9 -# productId: ${convert_to_string(2132)} 9 + productId: ${convert_to_string(2132)}
10 teardown_hooks: 10 teardown_hooks:
11 - ${sleep(1)} 11 - ${sleep(1)}
12 request: 12 request:
@@ -29,3 +29,4 @@ validate: @@ -29,3 +29,4 @@ validate:
29 - eq: 29 - eq:
30 - content.msg 30 - content.msg
31 - ok 31 - ok
  32 +
1 name: 分红管理—支付分红 1 name: 分红管理—支付分红
2 base_url: ${ENV(base_manager_url)} 2 base_url: ${ENV(base_manager_url)}
  3 +variables:
  4 + orderId: ${convert_to_string(1072)}
  5 + productId: ${convert_to_string(2132)}
3 teardown_hooks: 6 teardown_hooks:
4 - ${sleep(1)} 7 - ${sleep(1)}
5 request: 8 request:
@@ -18,3 +21,4 @@ validate: @@ -18,3 +21,4 @@ validate:
18 - eq: 21 - eq:
19 - content.msg 22 - content.msg
20 - ok 23 - ok
  24 +
@@ -11,21 +11,21 @@ request: @@ -11,21 +11,21 @@ request:
11 json: 11 json:
12 partnerName: '合伙人姓名${get_stringcode(5)}' 12 partnerName: '合伙人姓名${get_stringcode(5)}'
13 partnerType: 13 partnerType:
14 - - code: '${get_stringcode(5)}'  
15 - id: 1  
16 - - code: '${get_stringcode(5)}'  
17 - id: 2  
18 - - code: '${get_stringcode(5)}'  
19 - id: 3  
20 - - code: '${get_stringcode(5)}'  
21 - id: 4 14 + - id: 1
  15 + code: 事业合伙人编号${get_stringcode(8)}
  16 + - id: 2
  17 + code: 业务合伙人编号${get_stringcode(8)}
  18 + - id: 3
  19 + code: 研发合伙人编号${get_stringcode(8)}
  20 + - id: 4
  21 + code: 业务产品应用合伙人编号${get_stringcode(8)}
22 area: '合伙人所属区域${get_stringcode(5)}' 22 area: '合伙人所属区域${get_stringcode(5)}'
23 - account: 199${get_randint(10000000,99999999)} 23 + account: 155${get_randint(10000000,99999999)}
24 state: 1 24 state: 1
25 cooperationTime: ${get_today()} 25 cooperationTime: ${get_today()}
26 - salesmanName:  
27 - phone:  
28 - remark: '${get_stringcode(50)}' 26 + salesmanName: '业务员姓名${get_stringcode(5)}'
  27 + phone: 155${get_randint(10000000,99999999)}
  28 + remark: '系统自动添加'
29 method: POST 29 method: POST
30 url: /v1/partners/add 30 url: /v1/partners/add
31 validate: 31 validate:
@@ -9,7 +9,11 @@ request: @@ -9,7 +9,11 @@ request:
9 Authorization: Bearer ${get_m_accesstoken()} 9 Authorization: Bearer ${get_m_accesstoken()}
10 json: 10 json:
11 partnerName: '合伙人姓名修改${get_stringcode(5)}' 11 partnerName: '合伙人姓名修改${get_stringcode(5)}'
12 - partnerType: [1,2,3,4] 12 + partnerType:
  13 + - id: 1
  14 + code: 事业合伙人编号${get_stringcode(8)}
  15 + - id: 2
  16 + code: 业务合伙人编号${get_stringcode(8)}
13 area: '合伙人所属区域修改${get_stringcode(5)}' 17 area: '合伙人所属区域修改${get_stringcode(5)}'
14 account: 155${get_randint(10000000,99999999)} 18 account: 155${get_randint(10000000,99999999)}
15 state: 0 19 state: 0
@@ -17,6 +21,7 @@ request: @@ -17,6 +21,7 @@ request:
17 salesmanName: '业务员姓名修改${get_stringcode(5)}' 21 salesmanName: '业务员姓名修改${get_stringcode(5)}'
18 phone: 155${get_randint(10000000,99999999)} 22 phone: 155${get_randint(10000000,99999999)}
19 id: $id 23 id: $id
  24 + remark: '系统自动修改'
20 method: POST 25 method: POST
21 url: /v1/partners/edit 26 url: /v1/partners/edit
22 validate: 27 validate:
@@ -12,7 +12,7 @@ request: @@ -12,7 +12,7 @@ request:
12 partnerName: $partnerName 12 partnerName: $partnerName
13 partnerType: $partnerType 13 partnerType: $partnerType
14 pageNumber: 1 14 pageNumber: 1
15 - pageSize: 100 15 + pageSize: 10000
16 method: POST 16 method: POST
17 url: /v1/partners/list 17 url: /v1/partners/list
18 validate: 18 validate: