Skip to content

修正企业微信部门管理接口中的注释 #1052

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

Merged
merged 2 commits into from
May 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public interface WxCpDepartmentService {
* <pre>
* 部门管理接口 - 创建部门.
* 最多支持创建500个部门
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=部门管理接口
* 详情请见: https://work.weixin.qq.com/api/doc#90000/90135/90205
* </pre>
*
* @param depart 部门
Expand All @@ -30,19 +30,20 @@ public interface WxCpDepartmentService {

/**
* <pre>
* 部门管理接口 - 查询部门.
* 详情请见: http://qydev.weixin.qq.com/wiki/index.php?title=%E7%AE%A1%E7%90%86%E9%83%A8%E9%97%A8#.E8.8E.B7.E5.8F.96.E9.83.A8.E9.97.A8.E5.88.97.E8.A1.A8
* 部门管理接口 - 获取部门列表.
* 详情请见: https://work.weixin.qq.com/api/doc#90000/90135/90208
* </pre>
*
* @param id 部门id。获取指定部门及其下的子部门。非必需,可为null
* @return 获取的部门列表
* @throws WxErrorException 异常
*/
List<WxCpDepart> list(Long id) throws WxErrorException;

/**
* <pre>
* 部门管理接口 - 修改部门名.
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=部门管理接口
* 部门管理接口 - 更新部门.
* 详情请见: https://work.weixin.qq.com/api/doc#90000/90135/90206
* 如果id为0(未部门),1(黑名单),2(星标组),或者不存在的id,微信会返回系统繁忙的错误
* </pre>
*
Expand All @@ -54,6 +55,8 @@ public interface WxCpDepartmentService {
/**
* <pre>
* 部门管理接口 - 删除部门.
* 详情请见: https://work.weixin.qq.com/api/doc#90000/90135/90207
* 应用须拥有指定部门的管理权限
* </pre>
*
* @param departId 部门id
Expand Down