💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
>[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" } ```