Employee modification interface
Modify employee information
Request
Body Params application/json
{
"params": {
"property1": {},
"property2": {}
},
"staffId": 0,
"staffName": "string",
"staffNo": "string",
"sex": 0,
"deptId": 0,
"phone": "string",
"idCard": "string",
"email": "string",
"postId": 0,
"remark": "string",
"onlineStatus": 0,
"isBindDevice": 0,
"deviceId": 0,
"jobTypeId": 0
}
Request Code Samples
curl --location --request PUT '/system/staff' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiJzeXNfdXNlcjoxIiwicm5TdHIiOiJ0a0J1VFJvZVhuWG1SRU9Wd0tBM0w1QTdxQ1RqUEFOayIsImNsaWVudGlkIjoiZTVjZDdlNDg5MWJmOTVkMWQxOTIwNmNlMjRhN2IzMmUiLCJ0ZW5hbnRJZCI6IjAwMDAwMCIsInVzZXJJZCI6MSwiZGVwdElkIjoxMDN9.H9xMLtZUW_mS78ir2mTS6EyXYFTIJvzUM1hqFXr-23E' \
--header 'Clientid: e5cd7e4891bf95d1d19206ce24a7b32e' \
--header 'Content-Type: application/json' \
--data '{
"params": {
"property1": {},
"property2": {}
},
"staffId": 0,
"staffName": "string",
"staffNo": "string",
"sex": 0,
"deptId": 0,
"phone": "string",
"idCard": "string",
"email": "string",
"postId": 0,
"remark": "string",
"onlineStatus": 0,
"isBindDevice": 0,
"deviceId": 0,
"jobTypeId": 0
}'
Responses
application/json
{
"code": 0,
"msg": "string",
"data": {},
"tran": true
}
Modified at 2026-04-08 01:20:56