Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

企业微信新增【获取子部门ID列表】,更适合根据部门遍历用户的场景 #2537

Closed
zaijian5188 opened this issue Feb 17, 2022 · 1 comment
Milestone

Comments

@zaijian5188
Copy link

简要描述

在原“获取部门列表(department/list)”接口上有标注:

注:该接口性能较低,建议换用[获取子部门ID列表]与[获取单个部门详情]

新接口只返回 id 、 parentid 、order 3个属性,我认为用于遍历获取部门下的用户更合适。

PS:原“获取部门列表”接口比 WxCpDepart 对象多了一个 "department_leader"属性。

官方文档地址

https://developer.work.weixin.qq.com/document/path/95350

@zaijian5188
Copy link
Author

"department_leader" 已看到在 #2452 中已经处理了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants