列表
GET
/adminapi/dept.dept/lists- 部门列表
请求参数
Query Params
status
integer
optional
状态 0-停用 1-正常
name
string
optional
名称
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example成功示例
{
"code": 1,
"show": 0,
"msg": "",
"data": [
{
"id": 1,
"name": "公司",
"pid": 0,
"sort": 0,
"leader": "boss",
"mobile": "123",
"status": 1,
"create_time": "2022-04-22 09:58:04",
"update_time": "2022-05-27 16:32:48",
"delete_time": null,
"status_desc": "正常",
"level": 0,
"children": [
{
"id": 4,
"name": "前端前端",
"pid": 1,
"sort": 5,
"leader": "007007",
"mobile": "15216949486",
"status": 1,
"create_time": "2022-05-27 10:29:35",
"update_time": "2022-05-27 16:55:09",
"delete_time": null,
"status_desc": "正常",
"level": 1,
"children": []
]
}
]
}
Last modified: 2 年前