{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"children": [
{}
],
"deptSort": 0,
"name": "string",
"enabled": true,
"pid": 0,
"subCount": 0
}curl --location --request PUT '/api/dept' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"children": [
{}
],
"deptSort": 0,
"name": "string",
"enabled": true,
"pid": 0,
"subCount": 0
}'{}