mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-13 21:33:41 +08:00
upgrade: spring boot 版本升级到2.7.7
This commit is contained in:
18
README.md
18
README.md
@@ -1,3 +1,5 @@
|
|||||||
|
[](https://github.com/NotFound403/payment-spring-boot/actions/workflows/main.yml)
|
||||||
|
|
||||||
# 最好用的微信支付V3 Spring Boot 组件
|
# 最好用的微信支付V3 Spring Boot 组件
|
||||||
|
|
||||||
为了满足业务中出现app支付、公众号支付、小程序支付等多appid并存的场景,对原有的进行了增强开发出了多租户版本。
|
为了满足业务中出现app支付、公众号支付、小程序支付等多appid并存的场景,对原有的进行了增强开发出了多租户版本。
|
||||||
@@ -11,9 +13,16 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.felord</groupId>
|
<groupId>cn.felord</groupId>
|
||||||
<artifactId>payment-spring-boot-starter</artifactId>
|
<artifactId>payment-spring-boot-starter</artifactId>
|
||||||
<version>1.0.14.RELEASE</version>
|
<version>1.0.15.RELEASE</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
## JDK问题
|
||||||
|
|
||||||
|
**推荐使用Open JDK**,原因参见[FBI Warning](https://github.com/NotFound403/payment-spring-boot/issues/5)
|
||||||
|
|
||||||
|
## 文档地址
|
||||||
|
- [payment-spring-boot GitHub文档](https://notfound403.github.io/payment-spring-boot)
|
||||||
|
- [payment-spring-boot Gitee文档](https://felord.gitee.io/payment-spring-boot)
|
||||||
|
|
||||||
## 目前已经实现所有服务商和直连商户接口
|
## 目前已经实现所有服务商和直连商户接口
|
||||||
|
|
||||||
@@ -27,12 +36,13 @@
|
|||||||
- 实现微信支付V3 商家券
|
- 实现微信支付V3 商家券
|
||||||
- 实现微信支付V3 批量转账到零钱
|
- 实现微信支付V3 批量转账到零钱
|
||||||
|
|
||||||
更多参考[changelog](https://notfound403.github.io/payment-spring-boot/#/changelog)
|
更新日志参考[changelog](https://notfound403.github.io/payment-spring-boot/#/changelog)
|
||||||
|
|
||||||
## 核心API结构
|
## 核心API结构
|
||||||

|

|
||||||
|
|
||||||
- `WechatPartnerProfitsharingApi` 微信支付服务商V3分账
|
- `WechatPartnerProfitsharingApi` 微信支付服务商V3分账
|
||||||
|
- `WechatBrandProfitsharingApi` 微信支付服务商V3连锁品牌分账
|
||||||
- `WechatPayCallback` 微信支付V3回调通知工具封装
|
- `WechatPayCallback` 微信支付V3回调通知工具封装
|
||||||
- `WechatAllocationApi` 微信支付V2分账(未来会移除)
|
- `WechatAllocationApi` 微信支付V2分账(未来会移除)
|
||||||
- `WechatMarketingFavorApi` 微信支付代金券V3
|
- `WechatMarketingFavorApi` 微信支付代金券V3
|
||||||
@@ -61,10 +71,6 @@
|
|||||||
## 仓库地址
|
## 仓库地址
|
||||||
- [GitHub](https://github.com/NotFound403/payment-spring-boot)
|
- [GitHub](https://github.com/NotFound403/payment-spring-boot)
|
||||||
- [Gitee](https://gitee.com/felord/payment-spring-boot)
|
- [Gitee](https://gitee.com/felord/payment-spring-boot)
|
||||||
|
|
||||||
## 文档地址
|
|
||||||
- [payment-spring-boot GitHub文档](https://notfound403.github.io/payment-spring-boot)
|
|
||||||
- [payment-spring-boot Gitee文档](https://felord.gitee.io/payment-spring-boot)
|
|
||||||
|
|
||||||
## QQ交流群
|
## QQ交流群
|
||||||
为了交流解惑,新建QQ群,可通过扫码进入。
|
为了交流解惑,新建QQ群,可通过扫码进入。
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.felord</groupId>
|
<groupId>cn.felord</groupId>
|
||||||
<artifactId>payment-spring-boot-starter</artifactId>
|
<artifactId>payment-spring-boot-starter</artifactId>
|
||||||
<version>1.0.14.RELEASE</version>
|
<version>1.0.15.RELEASE</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
## 采用技术
|
## 采用技术
|
||||||
|
|||||||
@@ -1,3 +1,14 @@
|
|||||||
|
## 1.0.15.RELEASE
|
||||||
|
### 微信支付
|
||||||
|
- feat: 增加服务商退款API
|
||||||
|
- feat: 微信服务商分账-连锁品牌分账 [#82](https://github.com/NotFound403/payment-spring-boot/issues/82)
|
||||||
|
- fix: 多租户证书无法复用的问题,刷新时正确移除证书 [#77](https://github.com/NotFound403/payment-spring-boot/issues/77)
|
||||||
|
- fix: 批量转账到零钱API入参NPE问题修复 [#85](https://github.com/NotFound403/payment-spring-boot/issues/85)
|
||||||
|
- fix: 商家券-修改批次预算API请求方法应该为Patch [#79](https://github.com/NotFound403/payment-spring-boot/issues/79)
|
||||||
|
- enhance: 部分时间格式优化,更好地兼容Java Time API
|
||||||
|
- enhance: 微信代金券样式的背景颜色枚举更新 [#84](https://github.com/NotFound403/payment-spring-boot/issues/84)
|
||||||
|
- upgrade: Spring Boot 版本升级到2.7.4
|
||||||
|
|
||||||
## 1.0.14.RELEASE
|
## 1.0.14.RELEASE
|
||||||
### 微信支付
|
### 微信支付
|
||||||
- fix: 批量转账到零钱查询BUG [#I5E2X7](https://gitee.com/felord/payment-spring-boot/issues/I5E2X7)
|
- fix: 批量转账到零钱查询BUG [#I5E2X7](https://gitee.com/felord/payment-spring-boot/issues/I5E2X7)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.felord</groupId>
|
<groupId>cn.felord</groupId>
|
||||||
<artifactId>payment-spring-boot-starter</artifactId>
|
<artifactId>payment-spring-boot-starter</artifactId>
|
||||||
<version>1.0.14.RELEASE</version>
|
<version>1.0.15.RELEASE</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
> 基于 **Spring Boot 2.x**
|
> 基于 **Spring Boot 2.x**
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.felord</groupId>
|
<groupId>cn.felord</groupId>
|
||||||
<artifactId>payment-spring-boot</artifactId>
|
<artifactId>payment-spring-boot</artifactId>
|
||||||
<version>1.0.14.RELEASE</version>
|
<version>1.0.15.RELEASE</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>payment-spring-boot-autoconfigure</artifactId>
|
<artifactId>payment-spring-boot-autoconfigure</artifactId>
|
||||||
<version>1.0.14.RELEASE</version>
|
<version>1.0.15.RELEASE</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,12 @@
|
|||||||
package cn.felord.payment.wechat.v3;
|
package cn.felord.payment.wechat.v3;
|
||||||
|
|
||||||
import cn.felord.payment.wechat.WechatPayProperties;
|
import cn.felord.payment.wechat.WechatPayProperties;
|
||||||
import cn.felord.payment.wechat.enumeration.ReceiverType;
|
|
||||||
import cn.felord.payment.wechat.enumeration.TarType;
|
import cn.felord.payment.wechat.enumeration.TarType;
|
||||||
import cn.felord.payment.wechat.enumeration.WeChatServer;
|
import cn.felord.payment.wechat.enumeration.WeChatServer;
|
||||||
import cn.felord.payment.wechat.enumeration.WechatPayV3Type;
|
import cn.felord.payment.wechat.enumeration.WechatPayV3Type;
|
||||||
import cn.felord.payment.wechat.v3.model.ecommerce.BrandReceiver;
|
import cn.felord.payment.wechat.v3.model.ecommerce.BrandReceiver;
|
||||||
import cn.felord.payment.wechat.v3.model.ecommerce.BrandReceiverDeleteParams;
|
import cn.felord.payment.wechat.v3.model.ecommerce.BrandReceiverDeleteParams;
|
||||||
import cn.felord.payment.wechat.v3.model.ecommerce.EcommerceFinishOrder;
|
import cn.felord.payment.wechat.v3.model.ecommerce.EcommerceFinishOrder;
|
||||||
import cn.felord.payment.wechat.v3.model.ecommerce.EcommerceReceiver;
|
|
||||||
import cn.felord.payment.wechat.v3.model.ecommerce.EcommerceReceiverDeleteParams;
|
|
||||||
import cn.felord.payment.wechat.v3.model.ecommerce.EcommerceReturnOrderParams;
|
import cn.felord.payment.wechat.v3.model.ecommerce.EcommerceReturnOrderParams;
|
||||||
import cn.felord.payment.wechat.v3.model.profitsharing.BrandProfitsharingOrder;
|
import cn.felord.payment.wechat.v3.model.profitsharing.BrandProfitsharingOrder;
|
||||||
import cn.felord.payment.wechat.v3.model.profitsharing.PartnerProfitsharingBillParams;
|
import cn.felord.payment.wechat.v3.model.profitsharing.PartnerProfitsharingBillParams;
|
||||||
@@ -17,7 +14,6 @@ import cn.felord.payment.wechat.v3.model.profitsharing.PartnerQueryOrderParams;
|
|||||||
import cn.felord.payment.wechat.v3.model.profitsharing.PartnerReturnOrdersParams;
|
import cn.felord.payment.wechat.v3.model.profitsharing.PartnerReturnOrdersParams;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import org.springframework.core.io.Resource;
|
import org.springframework.core.io.Resource;
|
||||||
import org.springframework.http.HttpHeaders;
|
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.util.LinkedMultiValueMap;
|
import org.springframework.util.LinkedMultiValueMap;
|
||||||
import org.springframework.util.MultiValueMap;
|
import org.springframework.util.MultiValueMap;
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.felord</groupId>
|
<groupId>cn.felord</groupId>
|
||||||
<artifactId>payment-spring-boot</artifactId>
|
<artifactId>payment-spring-boot</artifactId>
|
||||||
<version>1.0.14.RELEASE</version>
|
<version>1.0.15.RELEASE</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>payment-spring-boot-starter</artifactId>
|
<artifactId>payment-spring-boot-starter</artifactId>
|
||||||
<version>1.0.14.RELEASE</version>
|
<version>1.0.15.RELEASE</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<groupId>cn.felord</groupId>
|
<groupId>cn.felord</groupId>
|
||||||
<artifactId>payment-spring-boot</artifactId>
|
<artifactId>payment-spring-boot</artifactId>
|
||||||
<version>1.0.14.RELEASE</version>
|
<version>1.0.15.RELEASE</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<spring-boot.version>2.7.4</spring-boot.version>
|
<spring-boot.version>2.7.7</spring-boot.version>
|
||||||
<alipay-sdk.version>4.31.7.ALL</alipay-sdk.version>
|
<alipay-sdk.version>4.31.7.ALL</alipay-sdk.version>
|
||||||
<bcprov.version>1.67</bcprov.version>
|
<bcprov.version>1.67</bcprov.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
Reference in New Issue
Block a user