From 3be70e7d6186c7053fb7631971597b87719f39f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Apr 2021 20:22:34 +0000 Subject: [PATCH 1/2] build(deps): bump bcprov-jdk15to18 from 1.66 to 1.67 Bumps [bcprov-jdk15to18](https://github.com/bcgit/bc-java) from 1.66 to 1.67. - [Release notes](https://github.com/bcgit/bc-java/releases) - [Changelog](https://github.com/bcgit/bc-java/blob/master/docs/releasenotes.html) - [Commits](https://github.com/bcgit/bc-java/commits) Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5d1a7c8..ffc78bd 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ 1.0.0.RELEASE 1.18.12 2.9.10 - 1.66 + 1.67 2.11.4 4.5.13 From 82941dffcbdca6eb964eb4ef0b78d162327aee96 Mon Sep 17 00:00:00 2001 From: AmazingDM Date: Fri, 14 May 2021 18:27:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix=20:=E6=89=B9=E9=87=8F=E8=BD=AC=E8=B4=A6?= =?UTF-8?q?=E5=88=B0=E9=9B=B6=E9=92=B1:=E5=BE=AE=E4=BF=A1=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E5=8D=95=E5=8F=B7=E6=9F=A5=E8=AF=A2=E6=98=8E=E7=BB=86?= =?UTF-8?q?=E5=8D=95API,=E5=95=86=E5=AE=B6=E6=98=8E=E7=BB=86=E5=8D=95?= =?UTF-8?q?=E5=8F=B7=E6=9F=A5=E8=AF=A2=E6=98=8E=E7=BB=86=E5=8D=95API=20?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payment/wechat/v3/WechatBatchTransferApi.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/WechatBatchTransferApi.java b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/WechatBatchTransferApi.java index 5cf77af..3abe668 100644 --- a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/WechatBatchTransferApi.java +++ b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/WechatBatchTransferApi.java @@ -140,9 +140,9 @@ public class WechatBatchTransferApi extends AbstractApi { WechatResponseEntity wechatResponseEntity = new WechatResponseEntity<>(); this.client().withType(WechatPayV3Type.BATCH_TRANSFER_DETAIL_WECHAT, queryBatchTransferDetailParams) .function((type, params) -> { - MultiValueMap queryParams = new LinkedMultiValueMap<>(); - queryParams.add("batch_id", params.getBatchIdOrOutBatchNo()); - queryParams.add("detail_id", params.getDetailIdOrOutDetailNo()); + Map queryParams = new HashMap<>(); + queryParams.put("batch_id", params.getBatchIdOrOutBatchNo()); + queryParams.put("detail_id", params.getDetailIdOrOutDetailNo()); URI uri = UriComponentsBuilder.fromHttpUrl(type.uri(WeChatServer.CHINA)) .build() @@ -195,9 +195,9 @@ public class WechatBatchTransferApi extends AbstractApi { WechatResponseEntity wechatResponseEntity = new WechatResponseEntity<>(); this.client().withType(WechatPayV3Type.BATCH_TRANSFER_DETAIL_MCH, queryBatchTransferDetailParams) .function((type, params) -> { - MultiValueMap queryParams = new LinkedMultiValueMap<>(); - queryParams.add("out_batch_no", params.getBatchIdOrOutBatchNo()); - queryParams.add("out_detail_no", params.getDetailIdOrOutDetailNo()); + Map queryParams = new HashMap<>(); + queryParams.put("batch_id", params.getBatchIdOrOutBatchNo()); + queryParams.put("detail_id", params.getDetailIdOrOutDetailNo()); URI uri = UriComponentsBuilder.fromHttpUrl(type.uri(WeChatServer.CHINA)) .build()