| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…trictlyNeedWechatPaySerial 属性支持 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 修复了 fullPublicKeyModel 和 strictlyNeedWechatPaySerial 配置项在 Spring Boot Starter 和 Solon 插件中缺失的问题。这两个配置项对于控制微信支付 V3 接口的验签行为至关重要,特别是 fullPublicKeyModel 用于启用完全公钥模式,避免调用平台证书下载接口。
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| spring-boot-starters/wx-java-pay-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/pay/properties/WxPayProperties.java | 添加 strictlyNeedWechatPaySerial 和 fullPublicKeyModel 两个布尔配置属性,默认值为 false |
| spring-boot-starters/wx-java-pay-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/pay/config/WxPayAutoConfiguration.java | 在 wxPayService() 方法中添加新属性到 WxPayConfig 的映射逻辑 |
| solon-plugins/wx-java-pay-solon-plugin/src/main/java/com/binarywang/solon/wxjava/pay/properties/WxPayProperties.java | 添加 strictlyNeedWechatPaySerial、fullPublicKeyModel 以及其他缺失的配置项(notifyUrl、payScorePermissionNotifyUrl、publicKeyId、publicKeyPath、apiHostUrl) |
| solon-plugins/wx-java-pay-solon-plugin/src/main/java/com/binarywang/solon/wxjava/pay/config/WxPayAutoConfiguration.java | 在 wxPayService() 方法中添加所有新配置项到 WxPayConfig 的映射逻辑 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
fullPublicKeyModel 和 strictlyNeedWechatPaySerial 配置项在 Spring Boot Starter 和 Solon 插件中缺失,导致用户通过配置文件设置完全公钥模式后仍会调用平台证书下载接口。
修复内容
Spring Boot Starter (wx-java-pay-spring-boot-starter)
Solon 插件 (wx-java-pay-solon-plugin)
使用示例
💡 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.