作者 dengyuting

fix

... ... @@ -17,8 +17,8 @@ request:
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
orderId: '实发订单号${get_nowtime()}'
shipmentsId: '实发订单发货单号${get_nowtime()}'
orderId: '实发订单号${get_stringcode(5)}'
shipmentsId: '实发订单发货单号${get_stringcode(5)}'
partnerID: $partnerID
buyer: '客户名称${get_stringcode(5)}'
orderDist: '订单区域${get_stringcode(5)}'
... ...
... ... @@ -11,8 +11,8 @@ request:
Authorization: Bearer ${get_m_accesstoken()}
json:
id: $id
orderId: '订单号修改${get_nowtime()}'
shipmentsId: '发货单号修改${get_nowtime()}'
orderId: '订单号修改${get_stringcode(5)}'
shipmentsId: '发货单号修改${get_stringcode(5)}'
partnerID: 1047
buyer: '客户名称修改${get_stringcode(5)}'
orderDist: '订单区域修改${get_stringcode(5)}'
... ...
name: 意向订单新增
base_url: ${ENV(base_manager_url)}
variables:
orderId: '意向订单号${get_nowtime()}'
orderId: '意向订单号${get_stringcode(5)}'
partnerID: 1047
commissionProportion: 5
orderNum1: 100
... ...
... ... @@ -8,7 +8,7 @@ request:
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
orderId: '意向订单号编辑${get_nowtime()}'
orderId: '意向订单号编辑${get_stringcode(5)}'
buyer: '客户名称编辑${get_stringcode(5)}'
orderDist: '订单区域编辑${get_stringcode(5)}'
partnerID: 1047
... ...
... ... @@ -10,7 +10,7 @@ request:
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
shipmentsId: '意向订单发货${get_nowtime()}'
shipmentsId: '意向订单发货${get_stringcode(5)}}'
id: ${convert_to_string($order_id)}
productDetail:
- productName: '意向订单发货产品名称${get_stringcode(5)}'
... ...
... ... @@ -2,7 +2,7 @@ config:
name: COM002-新增意向订单
base_url: ${ENV(base_manager_url)}
variables:
orderId: '意向订单号${get_nowtime()}'
orderId: '意向订单号${get_stringcode(5)}'
partnerID: 1047
commissionProportion: 5
orderNum1: 100
... ...
... ... @@ -2,7 +2,7 @@ config:
name: ACT001-实际订单-各个值计算正确
base_url: ${ENV(base_manager_url)}
variables:
orderId: '意向订单号${get_nowtime()}'
orderId: '意向订单号${get_stringcode(5)}'
partnerID: 1047
commissionProportion: 5
orderNum1: 100
... ...
... ... @@ -2,7 +2,7 @@ config:
name: PUR002-意向订单-发货
base_url: ${ENV(base_manager_url)}
variables:
orderId: '意向订单号${get_nowtime()}'
orderId: '意向订单号${get_stringcode(5)}'
partnerID: 1047
commissionProportion: 5
orderNum1: 100
... ... @@ -77,7 +77,7 @@ teststeps:
- content.data.gridResult.lists.0.orderId
- $orderId
- name: 查看实际订单列表
- name: 查看实际订单列表,存在刚刚新增的意向订单
api: api/m_api/actual/m_order_actual_partner_list_api.yml
extract:
- actual_id: content.data.gridResult.lists.0.id
... ...