From 6b21c9c0ff8b31adef664914b9b3c9041949628f Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Thu, 30 Jun 2022 15:50:23 +0800 Subject: [PATCH 01/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=AD=E4=BF=A1?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=B2=83=E6=94=AF=E4=BB=98http=E6=96=B9?= =?UTF-8?q?=E6=B3=95=EF=BC=8C=E8=AF=B7=E6=B1=82=E5=A4=B4=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=8F=82=E6=95=B0=20"ClientId",=20"com.unicom.hq.bid"=20"Opera?= =?UTF-8?q?tionCode",=20"com.unicom.fcp.uapService.registeredMembers.proce?= =?UTF-8?q?ss"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/CrypConfigureServiceImpl.java | 49 +++++++++++++++++-- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index ba1a6a8..93af8f8 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -36,8 +36,9 @@ import org.springframework.beans.factory.annotation.Value; import org.springframework.scheduling.annotation.Async; import org.springframework.stereotype.Service; -import java.io.InputStream; -import java.io.UnsupportedEncodingException; +import java.io.*; +import java.net.HttpURLConnection; +import java.net.URL; import java.text.SimpleDateFormat; import java.util.*; @@ -191,7 +192,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl Date: Thu, 30 Jun 2022 16:00:55 +0800 Subject: [PATCH 02/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=AD=E4=BF=A1?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=B2=83=E6=94=AF=E4=BB=98http=E6=96=B9?= =?UTF-8?q?=E6=B3=95=EF=BC=8C=E8=AF=B7=E6=B1=82=E5=A4=B4=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=8F=82=E6=95=B0=20"ClientId",=20"com.unicom.hq.bid"=20"Opera?= =?UTF-8?q?tionCode",=20"com.unicom.fcp.uapService.registeredMembers.proce?= =?UTF-8?q?ss"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ebtp/extend/crypconfigure/entity/CrypBean.java | 10 ++++++++++ .../service/impl/CrypConfigureServiceImpl.java | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java index 10a6833..463a4af 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java @@ -31,5 +31,15 @@ public class CrypBean { */ @ApiModelProperty(value = "天擎接口地址") public String url; + /** + * 中信支付使用ClientId + */ + @ApiModelProperty(value = "ClientId") + public String ClientId; + /** + * 中信支付使用OperationCode + */ + @ApiModelProperty(value = "OperationCode") + public String OperationCode; } diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index 93af8f8..dd4fb53 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -192,7 +192,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl Date: Thu, 30 Jun 2022 16:53:04 +0800 Subject: [PATCH 03/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=AD=E4=BF=A1?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=B2=83=E6=94=AF=E4=BB=98http=E6=96=B9?= =?UTF-8?q?=E6=B3=95=EF=BC=8C=E8=AF=B7=E6=B1=82=E5=A4=B4=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=8F=82=E6=95=B0=20"ClientId",=20"com.unicom.hq.bid"=20"Opera?= =?UTF-8?q?tionCode",=20"com.unicom.fcp.uapService.registeredMembers.proce?= =?UTF-8?q?ss"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/ebtp/extend/crypconfigure/entity/CrypBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java index 463a4af..d971ebc 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java @@ -35,11 +35,11 @@ public class CrypBean { * 中信支付使用ClientId */ @ApiModelProperty(value = "ClientId") - public String ClientId; + public String clientId; /** * 中信支付使用OperationCode */ @ApiModelProperty(value = "OperationCode") - public String OperationCode; + public String operationCode; } From eb69f461ca9654185ba2e2953f0ca4d83beeae7d Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Thu, 30 Jun 2022 16:55:04 +0800 Subject: [PATCH 04/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=AD=E4=BF=A1?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=B2=83=E6=94=AF=E4=BB=98http=E6=96=B9?= =?UTF-8?q?=E6=B3=95=EF=BC=8C=E8=AF=B7=E6=B1=82=E5=A4=B4=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=8F=82=E6=95=B0=20"ClientId",=20"com.unicom.hq.bid"=20"Opera?= =?UTF-8?q?tionCode",=20"com.unicom.fcp.uapService.registeredMembers.proce?= =?UTF-8?q?ss"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/ebtp/extend/crypconfigure/entity/CrypBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java index d971ebc..37bb055 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypBean.java @@ -34,12 +34,12 @@ public class CrypBean { /** * 中信支付使用ClientId */ - @ApiModelProperty(value = "ClientId") + @ApiModelProperty(value = "clientId") public String clientId; /** * 中信支付使用OperationCode */ - @ApiModelProperty(value = "OperationCode") + @ApiModelProperty(value = "operationCode") public String operationCode; } From 48686d02c509804b5285a104668e49cdd957d5d3 Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Fri, 1 Jul 2022 09:37:42 +0800 Subject: [PATCH 05/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crypconfigure/service/impl/CrypConfigureServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index dd4fb53..c1447ee 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -194,8 +194,9 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl Date: Fri, 1 Jul 2022 09:57:19 +0800 Subject: [PATCH 06/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crypconfigure/controller/CrypConfigureController.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java index ab9ac23..ebb88c1 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java @@ -9,6 +9,8 @@ import com.chinaunicom.mall.ebtp.extend.blockchain.entity.BlockChainLogVo; import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypBean; import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypConfigure; import com.chinaunicom.mall.ebtp.extend.crypconfigure.service.ICrypConfigureService; +import lombok.extern.slf4j.Slf4j; +import org.apache.poi.ss.formula.functions.T; import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; @@ -21,6 +23,7 @@ import javax.annotation.Resource; import javax.validation.Valid; import java.util.List; +@Slf4j @RestController @Api(value = "区块链参数配置表") @RequestMapping("/v1/crypconfigure") @@ -129,8 +132,9 @@ public class CrypConfigureController{ @ApiOperation("调用天擎接口") @PostMapping("/callUniInterfaceJson") public BaseResponse callUniInterfaceJson(@RequestBody CrypBean bean) { - - return BaseResponse.success(this.iCrypConfigureService.callUniInterfaceJson(bean)); + String str = this.iCrypConfigureService.callUniInterfaceJson(bean); + log.info("----调用天擎接口---callUniInterfaceJson-------:"+str); + return BaseResponse.success(str); } /** From c28320e4eaf8de8e8ddb0a3d17e7751c8744196e Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Fri, 1 Jul 2022 10:10:07 +0800 Subject: [PATCH 07/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crypconfigure/controller/CrypConfigureController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java index ebb88c1..712b7e0 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java @@ -134,7 +134,7 @@ public class CrypConfigureController{ public BaseResponse callUniInterfaceJson(@RequestBody CrypBean bean) { String str = this.iCrypConfigureService.callUniInterfaceJson(bean); log.info("----调用天擎接口---callUniInterfaceJson-------:"+str); - return BaseResponse.success(str); + return BaseResponse.success("11111",str); } /** From 3a59fd665d6ebd3b913705648ffad3bc24677c40 Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Fri, 1 Jul 2022 10:10:41 +0800 Subject: [PATCH 08/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extend/crypconfigure/controller/CrypConfigureController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java index 712b7e0..d385429 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java @@ -134,6 +134,7 @@ public class CrypConfigureController{ public BaseResponse callUniInterfaceJson(@RequestBody CrypBean bean) { String str = this.iCrypConfigureService.callUniInterfaceJson(bean); log.info("----调用天擎接口---callUniInterfaceJson-------:"+str); + System.out.println("----调用天擎接口---callUniInterfaceJson-------:"+str); return BaseResponse.success("11111",str); } From ac6431f3282267bb8e812ec6130c9bb620fd9079 Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Fri, 1 Jul 2022 10:33:29 +0800 Subject: [PATCH 09/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crypconfigure/controller/CrypConfigureController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java index d385429..c95dae9 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java @@ -9,6 +9,7 @@ import com.chinaunicom.mall.ebtp.extend.blockchain.entity.BlockChainLogVo; import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypBean; import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypConfigure; import com.chinaunicom.mall.ebtp.extend.crypconfigure.service.ICrypConfigureService; +import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.poi.ss.formula.functions.T; import org.springframework.web.bind.annotation.*; @@ -26,6 +27,7 @@ import java.util.List; @Slf4j @RestController @Api(value = "区块链参数配置表") +@RequiredArgsConstructor @RequestMapping("/v1/crypconfigure") public class CrypConfigureController{ @@ -135,7 +137,7 @@ public class CrypConfigureController{ String str = this.iCrypConfigureService.callUniInterfaceJson(bean); log.info("----调用天擎接口---callUniInterfaceJson-------:"+str); System.out.println("----调用天擎接口---callUniInterfaceJson-------:"+str); - return BaseResponse.success("11111",str); + return BaseResponse.success("11111","2222str"+str); } /** From f59d8f444c537184f60f87ac6552e1a8688141c0 Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Fri, 1 Jul 2022 10:47:53 +0800 Subject: [PATCH 10/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crypconfigure/controller/CrypConfigureController.java | 2 +- .../crypconfigure/service/impl/CrypConfigureServiceImpl.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java index c95dae9..743c569 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/controller/CrypConfigureController.java @@ -137,7 +137,7 @@ public class CrypConfigureController{ String str = this.iCrypConfigureService.callUniInterfaceJson(bean); log.info("----调用天擎接口---callUniInterfaceJson-------:"+str); System.out.println("----调用天擎接口---callUniInterfaceJson-------:"+str); - return BaseResponse.success("11111","2222str"+str); + return BaseResponse.success(str); } /** diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index c1447ee..3fd804e 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -159,7 +159,6 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl Date: Tue, 5 Jul 2022 08:51:30 +0800 Subject: [PATCH 11/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crypconfigure/service/impl/CrypConfigureServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index 3fd804e..5db6930 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -117,6 +117,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl Date: Thu, 7 Jul 2022 14:11:28 +0800 Subject: [PATCH 12/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crypconfigure/service/impl/CrypConfigureServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index 5db6930..c27653f 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -193,8 +193,10 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl Date: Wed, 27 Jul 2022 16:50:24 +0800 Subject: [PATCH 13/14] =?UTF-8?q?=E5=A4=A9=E6=93=8E=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/CrypConfigureServiceImpl.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index c27653f..f602b75 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -488,8 +488,12 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl Date: Mon, 1 Aug 2022 15:50:35 +0800 Subject: [PATCH 14/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=A9=E6=93=8E?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3https=E8=AF=B7=E6=B1=82=20ssl=E8=AF=81?= =?UTF-8?q?=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/CrypConfigureServiceImpl.java | 11 ++-- .../extend/crypconfigure/util/SslUtil.java | 52 +++++++++++++++++++ 2 files changed, 59 insertions(+), 4 deletions(-) create mode 100644 src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/util/SslUtil.java diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index f602b75..80d22ba 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -28,6 +28,7 @@ import com.chinaunicom.mall.ebtp.extend.crypconfigure.dao.CrypConfigureMapper; import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypBean; import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypConfigure; import com.chinaunicom.mall.ebtp.extend.crypconfigure.service.ICrypConfigureService; +import com.chinaunicom.mall.ebtp.extend.crypconfigure.util.SslUtil; import com.chinaunicom.mall.ebtp.extend.uniBss.UniBssUtil; import lombok.extern.slf4j.Slf4j; import org.apache.commons.io.IOUtils; @@ -114,7 +115,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl true; + trustAllHttpsCertificates(); + HttpsURLConnection.setDefaultHostnameVerifier(hv); + } +}