文档
测试

查询当前租户可用的组织树--通过递归完成

POST
/authority/org/getOrgTree

接口描述

查询当前租户可用的组织树--通过递归完成

响应参数JSON

```json { "successful": true, "code": 200, "message": "操作成功!", "timestamp": 1666851712354, "data": { "title": "string", "key": 100, "childrens": [ { "title": "上海分部", "key": 10001, "childrens": [ { "title": "综合部", "key": 10101, "childrens": [] }, { "title": "研发部", "key": 10102, "childrens": [] } ] }, { "title": "广州分部", "key": 10002, "childrens": [ { "title": "综合部", "key": 10201, "childrens": [] }, { "title": "测试部", "key": 10202, "childrens": [] }, { "title": "研发部", "key": 10203, "childrens": [] }, { "title": "销售部", "key": 10204, "childrens": [] } ] }, { "title": "管理层", "key": 10003, "childrens": [] }, { "title": "总经办", "key": 10004, "childrens": [] }, { "title": "财务部", "key": 10005, "childrens": [] }, { "title": "市场部", "key": 10006, "childrens": [] } ] } }

swagger 功能定位

![image.png](https://cos.easydoc.net/97781918/files/l9qolnat.png) ![image.png](https://cos.easydoc.net/97781918/files/l9qom9l4.png)