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.
28 lines
815 B
28 lines
815 B
name: app用户创建代卖订单
|
|
variables:
|
|
code: 200
|
|
message: successful
|
|
apptoken: ${ENV(ATOKEN)}
|
|
packageNum: 1
|
|
plateNumber: 粤A123456
|
|
deliveryTime: "2020-09-10 12:00:00"
|
|
paperCategoryId: 498475822026461184
|
|
totalEstimatedWeight: 1000
|
|
base_url: ${ENV(AURL)}
|
|
request:
|
|
url: /recycle-service/proxy-sell/create/order
|
|
method: POST
|
|
headers:
|
|
Content-Type: "application/json;charset=UTF-8"
|
|
X-APP-ID: "1"
|
|
Authorization: $apptoken
|
|
json:
|
|
carInfos:
|
|
- packageNum: $packageNum
|
|
- plateNumber: $plateNumber
|
|
deliveryTime: $deliveryTime
|
|
paperCategoryId: $paperCategoryId
|
|
totalEstimatedWeight: $totalEstimatedWeight
|
|
validate:
|
|
- eq: ["status_code", $code]
|
|
- {"check": "content.message", "comparator": "contains", "expect": $message}
|