作者 dengyuting

还原

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