🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
>[info] 获取子部门ID列表 调用本接口获取企业部门下的所有直属子部门列表。 **官方文档地址:** [链接](https://open.dingtalk.com/document/orgapp-server/obtain-a-sub-department-id-list-v2) * 代码: ~~~ $dept_id = 1; $res = Department::listsubid($dept_id); echo($res); ~~~ * 返回: ``` { "errcode": 0, "errmsg": "ok", "result": { "dept_id_list": [ 709636861, 808179795, 721279636, 808357313 ] }, "request_id": "16m0r1c23ea9y" } ```