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.

17 lines
431 B

name: app用户删除商品
variables:
apptoken: ${ENV(ATOKEN)}
productId: 0
base_url: ${ENV(AURL)}
request:
url: /recycle-service/delete/product
method: POST
headers:
Content-Type: "application/json;charset=UTF-8"
X-APP-ID: "1"
Authorization: $apptoken
json:
productId: $productId
validate:
- eq: ["status_code", 200]
- {"check": "content.message", "comparator": "contains", "expect": "successful"}