You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
name: 销售上传代卖磅单信息
|
|
variables:
|
|
code: 200
|
|
message: successful
|
|
token: ${ENV(LDAPTOKEN)}
|
|
deductedPoint: 50
|
|
deductedWeight: 100
|
|
imageUrl: ["http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20090917463455009.jpg"]
|
|
netWeight: 2000
|
|
orderItemId: 501174556803862528
|
|
settleDay: "2020-09-11"
|
|
settlePrice: 2499
|
|
settleUtiPrice: 2500
|
|
settleWeight: 1000
|
|
unitSurcharge: 0.001
|
|
weightDay: "2020-09-10"
|
|
base_url: ${ENV(BURL)}
|
|
request:
|
|
url: /recycle-service/admin/proxy-sell/save/weightnote
|
|
method: POST
|
|
headers:
|
|
Content-Type: "application/json;charset=UTF-8"
|
|
X-APP-ID: "1"
|
|
Authorization: $token
|
|
json:
|
|
deductedPoint: $deductedPoint
|
|
deductedWeight: $deductedWeight
|
|
imageUrl: $imageUrl
|
|
netWeight: $netWeight
|
|
orderItemId: $orderItemId
|
|
settleDay: $settleDay
|
|
settlePrice: $settlePrice
|
|
settleUtiPrice: $settleUtiPrice
|
|
settleWeight: $settleWeight
|
|
unitSurcharge: $unitSurcharge
|
|
weightDay: $weightDay
|
|
validate:
|
|
- eq: ["status_code", $code]
|
|
- {"check": "content.message", "comparator": "contains", "expect": $message}
|