修改部门
PUT
/system/dept请求参数
Body 参数application/json
createBy
string | null
创建者
createTime
string | null
创建时间
updateBy
string | null
更新者
updateTime
string | null
更新时间
remark
string | null
备注
deptId
integer | null
部门ID
parentId
integer | null
父部门ID
>= 0
ancestors
string | null
祖级列表
deptName
string | null
部门名称
sort
integer | null
显示顺序
>= 0
leader
string | null
负责人
phone
string | null
联系电话
>= 0 字符<= 11 字符
email
string <email> | null
邮箱
>= 0 字符<= 50 字符
deptStatus
integer | null
可选
部门状态:0正常,1停用
delFlag
boolean | null
可选
删除标志(0代表存在 1代表删除)
children
array[object (Dept) {16}] | null
子部门
默认值:
new ArrayList<>()
createBy
string | null
创建者
createTime
string | null
创建时间
updateBy
string | null
更新者
updateTime
string | null
更新时间
remark
string | null
备注
deptId
integer | null
部门ID
parentId
integer | null
父部门ID
>= 0
ancestors
string | null
祖级列表
deptName
string | null
部门名称
sort
integer | null
显示顺序
>= 0
leader
string | null
负责人
phone
string | null
联系电话
>= 0 字符<= 11 字符
email
string <email> | null
邮箱
>= 0 字符<= 50 字符
deptStatus
integer | null
可选
部门状态:0正常,1停用
delFlag
boolean | null
可选
删除标志(0代表存在 1代表删除)
children
array[object (Dept) {16}] | null
子部门
默认值:
new ArrayList<>()
示例
{
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"remark": "string",
"deptId": 0,
"parentId": 0,
"ancestors": "string",
"deptName": "string",
"sort": 0,
"leader": "string",
"phone": "string",
"email": "user@example.com",
"deptStatus": 0,
"delFlag": true,
"children": "new ArrayList<>()"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer | null
可选
返回状态码:返回200表示请求接口成功,非200表示请求接口失败
msg
string | null
返回消息
data
boolean | null
返回数据
示例
{
"code": 0,
"msg": "",
"data": false
}
最后修改时间: 10 个月前