| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
There was a problem hiding this comment.
本 PR 为企业微信代开发应用添加了"获取应用管理员列表"API 支持。该接口允许第三方服务商获取授权企业中指定应用的管理员列表(不包括外部管理员),便于服务商根据用户的管理员身份进行权限区分。
主要变更包括:
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| weixin-java-cp/src/main/java/me/chanjar/weixin/cp/constant/WxCpApiPathConsts.java | 在 Agent 接口中添加 AGENT_GET_ADMIN_LIST 常量,定义 API 路径 "/cgi-bin/agent/get_admin_list" |
| weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpAgentService.java | 添加 getAdminList 接口方法定义,包含完整的 JavaDoc 文档说明 |
| weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpAgentServiceImpl.java | 实现 getAdminList 方法,包含参数校验、JSON 请求构建、API 调用和标准错误处理 |
| weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpAgentServiceImplTest.java | 添加真实环境测试 testGetAdminList 和 Mock 测试,验证接口调用和响应解析的正确性 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
添加企业微信代开发应用"获取应用管理员列表"API支持。该接口用于获取授权企业中第三方应用或代开发应用的管理员列表(不包括外部管理员)。
变更内容
使用示例
参考文档: https://developer.work.weixin.qq.com/document/path/90506
Original prompt💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.