Merged
Conversation
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>
Copilot
AI
changed the title
[WIP] Add API wrapper for WeChat service provider
企业微信服务商代开发API封装
Jan 14, 2026
🤖 Augment PR Summary变更概述:本 PR 为“企业微信第三方应用(服务商)代开发”能力补齐接口封装,覆盖应用模板列表与代开发应用详情查询。 主要变更:
备注:实现遵循现有 tp 模块调用惯例(URL 拼接 🤖 Was this summary useful? React with 👍 or 👎 |
...-java-cp/src/main/java/me/chanjar/weixin/cp/tp/service/impl/WxCpTpCustomizedServiceImpl.java
Show resolved
Hide resolved
...-java-cp/src/main/java/me/chanjar/weixin/cp/tp/service/impl/WxCpTpCustomizedServiceImpl.java
Show resolved
Hide resolved
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpCustomizedAppDetail.java
Show resolved
Hide resolved
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpTemplateList.java
Show resolved
Hide resolved
…ustomizedAppDetail.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…emplateList.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Owner
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Owner
|
@copilot apply changes based on the comments in this thread |
Contributor
Author
所有审核意见已在之前的提交中完成:
|
Owner
|
@copilot 还有一个comment没有处理 |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
企业微信服务商代开发API封装
任务清单
实现内容
新增Bean类:
WxCpTpTemplateList:应用模板列表响应类WxCpTpCustomizedAppDetail:代开发应用详情响应类新增服务接口:
WxCpTpCustomizedService:代开发相关接口getTemplateList():获取应用模板列表getCustomizedAppDetail(String authCorpId, Integer agentId):获取代开发应用详情新增服务实现:
WxCpTpCustomizedServiceImpl:实现代开发相关接口getProviderAccessToken()和getWxCpTpConfigStorage()以提高代码可维护性API路径常量:
GET_TEMPLATE_LIST = "/cgi-bin/service/get_template_list"GET_CUSTOMIZED_APP_DETAIL = "/cgi-bin/service/get_customized_app_detail"集成到主服务:
WxCpTpService接口中添加getter/setter方法BaseWxCpTpServiceImpl中初始化并实现getter/setter单元测试:
WxCpTpCustomizedServiceImplTest:包含3个测试用例,覆盖主要功能参考文档
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.