文档:明确说明 wx-java-cp-multi-spring-boot-starter 中 corp-secret 的配置方式#3957
Draft
文档:明确说明 wx-java-cp-multi-spring-boot-starter 中 corp-secret 的配置方式#3957
Conversation
- 增加 corp-secret 类型说明章节(自建应用/通讯录同步/客户联系) - 更新配置示例展示多种 Secret 同时使用的方式 - 改善 WxCpSingleProperties 的 Javadoc - 在 AbstractWxCpConfiguration 中增加设计意图注释 Agent-Logs-Url: https://github.com/binarywang/WxJava/sessions/c3b71887-e0c8-4297-b740-a39dc15c7d69 Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix crop-secret usage for wx-java-cp-multi-spring-boot-starter
文档:明确说明 wx-java-cp-multi-spring-boot-starter 中 corp-secret 的配置方式
Apr 7, 2026
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.
企业微信不同功能模块使用不同的 Secret,每种 Secret 仅对对应模块的接口有权限。现有文档未说明这一机制,导致用户困惑:自建应用 Secret 无法更新部门,通讯录同步 Secret 调用应用接口报错。
变更内容
README(Spring Boot Starter + Solon 插件)
agent-idagent-id)与通讯录同步条目(不填agent-id)的共存写法WxCpSinglePropertiesJavadoccorpSecret字段注释说明各 Secret 类型及其agentId要求agentId字段注释说明自建应用必填、通讯录同步无需填写AbstractWxCpConfiguration代码注释corpId下可配置多条目以使用不同 Secret 的设计意图配置示例