部门信息
GET
/system/dept/{deptId}请求参数
Path 参数
deptId
string
部门编号
示例值:
{% mock 'increment' %}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object | null
必需
deptId
string
部门ID
parentId
string
父部门ID
ancestors
string
祖级列表
deptName
string
部门名称
orderNum
integer
显示顺序
leader
string
负责人
phone
string
联系电话
email
string
邮箱
status
string
部门状态
0正常 1停用
parentName
string
父部门名称
示例
{
"code": 200,
"msg": "成功",
"data": {
"deptId": "109",
"parentId": "102",
"ancestors": "0,100,102",
"deptName": "财务部门",
"orderNum": 2,
"leader": "MASK",
"phone": "15888888888",
"email": "mask@qq.com",
"status": "1",
"parentName": "广东分公司"
}
}
修改于 1 年前