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
708 B

name: 创建采购商品
variables:
description: 采购商品描述哈哈哈
firstCategoryId: 12
imgList:
locDistrictId: 440106
num: 100
secondCategoryId: 1
unitPrice: 1000
base_url: ${ENV(URL)}
request:
url: /recycle-service/purchase/create/product
method: POST
headers:
Content-Type: "application/json"
X-APP-ID: "38555"
Authorization: QNT ${ENV(APPTOKEN)}
json:
description: $description
firstCategoryId: $firstCategoryId
imgList: $imgList
locDistrictId: $locDistrictId
num: $num
secondCategoryId: $secondCategoryId
unitPrice: $unitPrice
validate:
- eq: ["status_code", 200]