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.

21 lines
554 B

name: 运营端编辑企业员工
variables:
code: 200
uatoken: ${ENV(UATOKEN)}
id:
position: ADMINISTRATOR # 角色 ADMINISTRATOR:管理员,PRIMARY:企业主,ORDINARY:普通员工
realName: 员工名称
base_url: ${ENV(UECURL)}
request:
url: /uec/admin/update/enterprise
method: POST
headers:
Content-Type: "application/json"
X-APP-ID: "1"
Authorization: $uatoken
json:
id: $id
position: $position
realName: $realName
validate:
- eq: ["status_code", $code]