🎨 #3838 【微信支付】为starter添加了退款结果回调 URL 的配置支持,允许开发者在配置文件中统一配置退款通知地址

This commit is contained in:
buaazyl
2026-01-09 14:16:06 +08:00
committed by GitHub
parent 2c5a33917e
commit 72fa3b3301
8 changed files with 32 additions and 9 deletions

View File

@@ -133,10 +133,10 @@
**Spring Boot 配置示例:**
```properties
# 使用 HttpClient 5.x推荐MP/CP/Channel/QiDian 模块默认)
# 使用 HttpClient 5.x推荐MP/MiniApp/CP/Channel/QiDian 模块默认)
wx.mp.config-storage.http-client-type=HttpComponents
# 使用 HttpClient 4.x兼容模式MiniApp 模块默认
# 使用 HttpClient 4.x兼容模式
wx.mp.config-storage.http-client-type=HttpClient
# 使用 OkHttp
@@ -153,11 +153,10 @@ wx.mp.config-storage.http-client-type=HTTP_COMPONENTS # 注意使用大写下
```
**注意事项:**
1. **MiniApp 模块**已提供 `HttpComponents`HttpClient 5.x类型的配置选项但当前默认仍为 HttpClient 4.x如需启用 HttpClient 5.x请确保所使用的集成模块`wx-java-miniapp-spring-boot-starter``wx-java-miniapp-solon-plugin`)版本已支持该选项
2. **MP、Channel、QiDian 模块**已完整支持 HttpClient 5.x默认推荐使用
3. **CP 模块**的支持情况取决于具体使用的 Starter 版本,请参考对应模块文档
4. 如需使用 OkHttp 或 Jodd-http需在项目中添加对应的依赖scope为provided
5. HttpClient 4.x 和 HttpClient 5.x 可以共存,按需配置即可
1. **MP、MiniApp、Channel、QiDian 模块**已完整支持 HttpClient 5.x默认推荐使用
2. **CP 模块**的支持情况取决于具体使用的 Starter 版本,请参考对应模块文档
3. 如需使用 OkHttp 或 Jodd-http需在项目中添加对应的依赖scope为provided
4. HttpClient 4.x 和 HttpClient 5.x 可以共存,按需配置即可
---------------------------------