m_dividends_edit_api.yml
728 字节
name: 编辑事业分红
base_url: ${ENV(base_manager_url)}
variables:
id: 1072
quantityControl: '50'
stateOfPayment: 1
remark:
productId: 2132
teardown_hooks:
- ${sleep(2)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
id: $id
dividendPayment:
- productId: $productId
quantityControl: $quantityControl
remark:
stateOfPayment: $stateOfPayment
method: POST
url: /v1/dividends/edit
# extract:
# - num: content.data.gridResult.totalRow
validate:
- eq:
- content.msg
- ok