部门修改
PUT
/system/dept请求参数
Body 参数application/json
orderNum
integer
显示顺序
deptName
string
部门名称
leader
string
负责人
phone
string
联系电话
email
string
邮箱
status
string
部门状态
0正常 1停用
parentId
string
父部门ID
parentName
string
父部门名称
deptId
string
部门ID
示例
{
"orderNum": 0,
"deptName": "string",
"leader": "string",
"phone": "string",
"email": "string",
"status": "string",
"parentId": "string",
"parentName": "string",
"deptId": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
示例
异常示例-上级部门不能是自己
{
"code": 500,
"msg": "部门修改【拉高济查】失败,上级部门不能是自己"
}
修改于 1 年前