文档
测试

获取部门下拉树列表

GET
http://localhost:8080/system/dept/treeselect

请求头

参数名
类型
描述
必填
Authorization
string
示例:eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjRkMDk3NDdhLTVlZmQtNGQ4NS1iYzQ5LTlhN2UxYjliYmIyNyJ9.kA84KDxcO9ZcOtMVuXNqP4idtcmivnSqwaRcbw4pYuXyVLXUuUeZEm85LTOqqM60aUZLcs8pfo3SIXVxvo5HDA
必填

请求参数

参数名
类型
描述
必填
dept
string
示例:oa系统
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
data
array
数据列表
必填
id
int
示例:100
必填
label
string
示例:oa系统
必填
children
array
数据列表
必填
id
int
示例:101
必填
label
string
示例:编辑部
必填
children
array
数据列表
必填
id
int
示例:103
必填
label
string
示例:编辑一组
必填

说明 / 示例

{ "msg": "操作成功", "code": 200, "data": [ { "id": 100, "label": "oa系统", "children": [ { "id": 101, "label": "编辑部", "children": [ { "id": 103, "label": "编辑一组" }, { "id": 201, "label": "编辑部二组" } ] }, { "id": 200, "label": "销售部" } ] } ] }