-
-
Notifications
You must be signed in to change notification settings - Fork 9k
新增 wx-java-open-multi-spring-boot-starter 支持多开放平台配置 #3847
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
base: develop
Are you sure you want to change the base?
Conversation
Co-authored-by: binarywang <[email protected]>
Co-authored-by: binarywang <[email protected]>
🤖 Augment PR SummaryPR 总结:本次 PR 新增了 主要变更:
技术要点:整体实现参考了现有 multi-starter 模式,将每个租户的 app 配置装配成独立的 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| wx.open.config-storage.key-prefix=wx:open:multi | ||
| wx.open.config-storage.redis.host=127.0.0.1 | ||
| wx.open.config-storage.redis.port=6379 | ||
| ## 单机和 sentinel 同时存在时,优先使用sentinel配置 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot apply changes based on this feedback
| */ | ||
| protected abstract WxOpenInMemoryConfigStorage wxOpenConfigStorage(WxOpenMultiProperties wxOpenMultiProperties); | ||
|
|
||
| public WxOpenService wxOpenService(WxOpenConfigStorage configStorage, WxOpenMultiProperties wxOpenMultiProperties) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot apply changes based on this feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
...binarywang/spring/starter/wxjava/open/configuration/services/WxOpenInJedisConfiguration.java
Outdated
Show resolved
Hide resolved
...ng/spring/starter/wxjava/open/configuration/services/WxOpenInRedisTemplateConfiguration.java
Outdated
Show resolved
Hide resolved
...c/main/java/com/binarywang/spring/starter/wxjava/open/properties/WxOpenSingleProperties.java
Outdated
Show resolved
Hide resolved
...arywang/spring/starter/wxjava/open/configuration/services/WxOpenInRedissonConfiguration.java
Outdated
Show resolved
Hide resolved
...inarywang/spring/starter/wxjava/open/configuration/services/AbstractWxOpenConfiguration.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/binarywang/spring/starter/wxjava/open/properties/WxOpenMultiProperties.java
Outdated
Show resolved
Hide resolved
...inarywang/spring/starter/wxjava/open/configuration/services/WxOpenInMemoryConfiguration.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/binarywang/spring/starter/wxjava/open/properties/WxOpenMultiProperties.java
Outdated
Show resolved
Hide resolved
spring-boot-starters/wx-java-open-multi-spring-boot-starter/README.md
Outdated
Show resolved
Hide resolved
...ter/src/main/java/com/binarywang/spring/starter/wxjava/open/service/WxOpenMultiServices.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
…c/main/java/com/binarywang/spring/starter/wxjava/open/configuration/services/WxOpenInJedisConfiguration.java Co-authored-by: Copilot <[email protected]>
…c/main/java/com/binarywang/spring/starter/wxjava/open/properties/WxOpenSingleProperties.java Co-authored-by: Copilot <[email protected]>
…c/main/java/com/binarywang/spring/starter/wxjava/open/properties/WxOpenMultiProperties.java Co-authored-by: Copilot <[email protected]>
…c/main/java/com/binarywang/spring/starter/wxjava/open/properties/WxOpenMultiProperties.java Co-authored-by: Copilot <[email protected]>
…c/main/java/com/binarywang/spring/starter/wxjava/open/service/WxOpenMultiServices.java Co-authored-by: Copilot <[email protected]>
…c/main/java/com/binarywang/spring/starter/wxjava/open/configuration/services/WxOpenInMemoryConfiguration.java Co-authored-by: Copilot <[email protected]>
…c/main/java/com/binarywang/spring/starter/wxjava/open/configuration/services/WxOpenInRedissonConfiguration.java Co-authored-by: Copilot <[email protected]>
…c/main/java/com/binarywang/spring/starter/wxjava/open/configuration/services/WxOpenInRedisTemplateConfiguration.java Co-authored-by: Copilot <[email protected]>
Co-authored-by: binarywang <[email protected]>
实现计划
变更说明
根据代码审查反馈,对枚举命名进行了统一规范:
这些修改确保了与项目现有 wx-java-open-spring-boot-starter 单账号版本的命名风格保持一致。
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.