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.
19 lines
429 B
19 lines
429 B
name: 修改员工状态
|
|
variables:
|
|
code: 200
|
|
uatoken: ${ENV(UATOKEN)}
|
|
id:
|
|
status: 1 # 状态。0:激活,1:停用
|
|
base_url: ${ENV(UECURL)}
|
|
request:
|
|
url: /uec/admin/modify/employee/status
|
|
method: POST
|
|
headers:
|
|
Content-Type: "application/json"
|
|
X-APP-ID: "1"
|
|
Authorization: $uatoken
|
|
json:
|
|
id: $id
|
|
status: $status
|
|
validate:
|
|
- eq: ["status_code", $code]
|