Ver Fonte

update eg

GITZYY há 1 semana atrás
pai
commit
0cf34cbc29
100 ficheiros alterados com 689 adições e 624 exclusões
  1. 1 2
      egress-gateway-service-app/src/main/java/com/hrsk/cloud/eg/app/loan/customize/ApiCustomizeRouteService.java
  2. 0 1
      egress-gateway-service-app/src/main/java/com/hrsk/cloud/eg/app/route/EndpointRouteService.java
  3. 3 0
      egress-gateway-service-app/src/main/java/com/hrsk/cloud/eg/app/route/impl/CheckIntoCmd.java
  4. 6 0
      egress-gateway-service-client/src/main/java/com/hrsk/cloud/eg/clinet/dto/data/command/CheckIntoParamCmd.java
  5. 48 0
      egress-gateway-service-client/src/main/java/com/hrsk/cloud/eg/clinet/dto/data/plan/command/EgLoanApiConfigInfoCmd.java
  6. 2 1
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/LoanDockingApi.java
  7. 4 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/AnHuiHengDaoCreditService.java
  8. 5 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/BaiXinShunTaiCreditService.java
  9. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/BaiYiJinFuCreditService.java
  10. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/BeiJingChongHeCreditService.java
  11. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/CangZhouSuYiRonogCreditService.java
  12. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/CheYouRongCreditService.java
  13. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChengDuYiHeShengCreditService.java
  14. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChengHongHuiCreditService.java
  15. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChongQinDongRunCreditService.java
  16. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChongQingRuiShangXinCreditService.java
  17. 11 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChongQingYiYueCreditService.java
  18. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChuanjinCreditService.java
  19. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DeLuoXuanAesCreditService.java
  20. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DeLuoXuanCreditService.java
  21. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DeZhouXinYiRongCreditService.java
  22. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DeZhouXinYiRongV2CreditService.java
  23. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DfrzwCreditService.java
  24. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/FangxinwangiCreditService.java
  25. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/FuChengCreditService.java
  26. 11 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/FuZhouBeiJiuCreditService.java
  27. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/FuZhouBeiYinJinRongCreditService.java
  28. 11 11
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GexinjinfuCreditService.java
  29. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GuanZhouPuHuiCreditService.java
  30. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GuangDongHaoEnCreditService.java
  31. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GuangDongHongZhanCreditService.java
  32. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GuangZhouHuaXinCreditService.java
  33. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HamiguaCreditService.java
  34. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HaohanwuyinCreditService.java
  35. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HeFeiShenDaiCreditService.java
  36. 11 11
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HeZeRongXinCreditService.java
  37. 11 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HengYangJiuZhenCreditService.java
  38. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HengaiCreditService.java
  39. 11 11
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HongShengJinFuCreditService.java
  40. 12 11
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HongXinPuHuiCreditService.java
  41. 11 11
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HuNanDiShuiYanCreditService.java
  42. 9 9
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HuirongCrmCreditService.java
  43. 11 11
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HuixinCreditService.java
  44. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HuizhongCreditService.java
  45. 11 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JianZhanCreditService.java
  46. 11 11
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JiechengCreditService.java
  47. 10 9
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JilingHuiRongCreditService.java
  48. 9 9
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JinDieV2CreditService.java
  49. 9 9
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JinDieV3CreditService.java
  50. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JinDieV4CreditService.java
  51. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JinZhuLiCreditService.java
  52. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JindieCreditService.java
  53. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JiuXinKeCreditService.java
  54. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiYiRongCreditService.java
  55. 2 2
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiyidaiCreditService.java
  56. 2 2
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiyidaiFourToOneCreditService.java
  57. 2 2
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiyidaiNightCreditService.java
  58. 2 2
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiyidaiV2CreditService.java
  59. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KunMingXiaoSongShuCreditService.java
  60. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/LeXiangRongCreditService.java
  61. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/LianKeYunKongCreditService.java
  62. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/LiaoChengXinYiDaiCreditService.java
  63. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/MoGuTouCreditService.java
  64. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/NanTongXingChengCreditService.java
  65. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/NiYouKeCreditService.java
  66. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/NingBoTianChengCreditService.java
  67. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/OpenApiAesCreditService.java
  68. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/OpenApiCreditService.java
  69. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/PingDingShanCreditService.java
  70. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/PingXunCreditService.java
  71. 7 6
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/PubNoCheckCreditService.java
  72. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingDaoAoSengCreditService.java
  73. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingDaoAoSengV2CreditService.java
  74. 10 11
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingyuCreditService.java
  75. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingyuV2CreditService.java
  76. 9 9
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingyuV3CreditService.java
  77. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongChuangJinFuCreditService.java
  78. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongXiangDaChangShaCreditService.java
  79. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongXiangKeBuShuCreditService.java
  80. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongXiangKeV2CreditService.java
  81. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongYiDaCreditService.java
  82. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongkedaiCreditService.java
  83. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongshengCreditService.java
  84. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongxiziCreditService.java
  85. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RunMeiXinYiRongCreditService.java
  86. 10 10
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RxkCreditService.java
  87. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShanDongBangBangDaiCreditService.java
  88. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShanXiHengShengDaiCreditService.java
  89. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShanXiMingDePuHuiCreditService.java
  90. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShangHaiHanGeCreditService.java
  91. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShangHaiJuHuiRongCreditService.java
  92. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShenLuoJinFuCreditService.java
  93. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShenYangHengXinCreditService.java
  94. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShenYangXinYiRongCreditService.java
  95. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShiYueCreditService.java
  96. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShuRongCreditService.java
  97. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/SiChuangRuiCreditService.java
  98. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/SouYuJinFuCreditService.java
  99. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/SuZhouJianYiRongCreditService.java
  100. 3 3
      egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/SuzhouchangshuoCreditService.java

+ 1 - 2
egress-gateway-service-app/src/main/java/com/hrsk/cloud/eg/app/loan/customize/ApiCustomizeRouteService.java

@@ -11,7 +11,6 @@ import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConf
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
-
 import javax.annotation.Resource;
 import java.util.Objects;
 
@@ -138,6 +137,6 @@ public class ApiCustomizeRouteService {
      */
     public DataVo loanCheckInto(CheckIntoParamCmd checkIntoParamCmd){
         LoanDockingApi loanDockingApi = apiRouter(checkIntoParamCmd.getPlan());
-      return   loanDockingApi.qualityCheck(checkIntoParamCmd.getUser(), checkIntoParamCmd.getPlan());
+      return   loanDockingApi.qualityCheck(checkIntoParamCmd.getUser(), checkIntoParamCmd.getPlan(),checkIntoParamCmd.getApiConfigInfo());
     }
 }

+ 0 - 1
egress-gateway-service-app/src/main/java/com/hrsk/cloud/eg/app/route/EndpointRouteService.java

@@ -1,6 +1,5 @@
 package com.hrsk.cloud.eg.app.route;
 
-import com.hrsk.cloud.eg.clinet.dto.data.EgLoanApiConfigInfoDto;
 import com.hrsk.cloud.eg.clinet.dto.data.command.ApiInvokeParamCmd;
 import com.hrsk.pangu.dto.SingleResponse;
 

+ 3 - 0
egress-gateway-service-app/src/main/java/com/hrsk/cloud/eg/app/route/impl/CheckIntoCmd.java

@@ -6,6 +6,7 @@ import com.hrsk.cloud.eg.app.route.EndpointRouteService;
 import com.hrsk.cloud.eg.clinet.dto.data.EgLoanApiConfigInfoDto;
 import com.hrsk.cloud.eg.clinet.dto.data.command.ApiInvokeParamCmd;
 import com.hrsk.cloud.eg.clinet.dto.data.command.CheckIntoParamCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
 import com.hrsk.cloud.eg.domain.common.constant.egress.EgRouteTypeEnum;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
@@ -37,7 +38,9 @@ public class CheckIntoCmd implements EndpointRouteService {
     public SingleResponse apiEndPoint(ApiInvokeParamCmd apiInvokeParamCmd) {
         CheckIntoParamCmd checkIntoParamCmd = JSONObject.parseObject(apiInvokeParamCmd.getParam().toString(), CheckIntoParamCmd.class);
         EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(checkIntoParamCmd.getPlan().getApiId());
+        EgLoanApiConfigInfoCmd configCmd = BeanCopyUtils.copy(loanApiConfigInfo, EgLoanApiConfigInfoCmd.class);
         Map<String, CheckCmdExe> collect = checkCmdExeList.stream().collect(Collectors.toMap(CheckCmdExe::getMode, CheckCmdExe -> CheckCmdExe));
+
         return   collect.get(loanApiConfigInfo.getIntegrationMode()).route(checkIntoParamCmd);
     }
 

+ 6 - 0
egress-gateway-service-client/src/main/java/com/hrsk/cloud/eg/clinet/dto/data/command/CheckIntoParamCmd.java

@@ -1,5 +1,6 @@
 package com.hrsk.cloud.eg.clinet.dto.data.command;
 
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
 import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
 import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
 import lombok.Data;
@@ -22,4 +23,9 @@ public class CheckIntoParamCmd implements Serializable {
      * 推广计划信息
      * */
     private PlanCmd plan;
+
+    /**
+     * api信息配置
+     */
+    private EgLoanApiConfigInfoCmd apiConfigInfo;
 }

+ 48 - 0
egress-gateway-service-client/src/main/java/com/hrsk/cloud/eg/clinet/dto/data/plan/command/EgLoanApiConfigInfoCmd.java

@@ -0,0 +1,48 @@
+package com.hrsk.cloud.eg.clinet.dto.data.plan.command;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+/**
+ * @author zhangyy
+ * @version 1.0
+ * @description: EgApiConfigInfoDo api配置信息类 综合实体
+ * @date 2024/10/21 11:21
+ */
+@Data
+public class EgLoanApiConfigInfoCmd implements Serializable {
+    /**
+     * API名称
+     */
+    private String apiName;
+
+    /**
+     * API类型
+     */
+    private String apiType;
+
+    /**
+     * 数据API主键
+     */
+    private Long apiId;
+    /**
+     * 通道类型
+     */
+    private String apiCode;
+
+    /**
+     * 请求配置 对应原始数据表中的 threeConfig
+     */
+    private byte[] requestConfig;
+
+    /**
+     * 是否需要撞库0:不需要;1:需要
+     */
+    private Integer needCheck;
+
+    /**
+     * api 介入类型代码自定义 还是引导配置
+     */
+    private String integrationMode;
+}

+ 2 - 1
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/LoanDockingApi.java

@@ -1,5 +1,6 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking;
 
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
 import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
 import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
 import com.hrsk.cloud.eg.clinet.vo.DataVo;
@@ -20,7 +21,7 @@ public interface LoanDockingApi {
      * @author zhangyy
      * @date: 2024/9/10 14:33
      */
-    DataVo qualityCheck(UserBaseInfoCmd user, PlanCmd planDto);
+    DataVo qualityCheck(UserBaseInfoCmd user, PlanCmd planDto, EgLoanApiConfigInfoCmd configInfoCmd);
 
 
     /**

+ 4 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/AnHuiHengDaoCreditService.java

@@ -2,6 +2,7 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
 import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
 import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
 import com.hrsk.cloud.eg.clinet.vo.DataVo;
@@ -81,11 +82,11 @@ public class AnHuiHengDaoCreditService implements LoanDockingApi {
      * @param product
      * @return
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo) {
         try {
             log.info("credit AnHuiHengDaoCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+           
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
 

+ 5 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/BaiXinShunTaiCreditService.java

@@ -2,9 +2,11 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
 import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
 import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
 import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
 import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
 import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
@@ -88,11 +90,11 @@ public class BaiXinShunTaiCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit QingDaoBaiXinShunTaiCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("青岛佰信顺泰对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/BaiYiJinFuCreditService.java

@@ -2,17 +2,17 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
 import com.hrsk.cloud.eg.infrastructure.utils.RedisUtil;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
@@ -86,11 +86,11 @@ public class BaiYiJinFuCreditService implements LoanDockingApi {
      * @param product
      * @return
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit BaiYiJinFuCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("佰亿金服对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/BeiJingChongHeCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.codec.binary.Base64;
@@ -168,11 +168,11 @@ public class BeiJingChongHeCreditService implements LoanDockingApi {
      * @return
      *  {"channel_code":"34","checkUrl":"http://120.46.41.14:8888/api/customer/collisionLibrary","channel_secret_key":"HrYk20230829KYR6"}
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit BeiJingChongHeCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("北京重和对接参数:{}", JSONObject.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/CangZhouSuYiRonogCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Component;
@@ -66,11 +66,11 @@ public class CangZhouSuYiRonogCreditService implements LoanDockingApi {
 
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit CangZhouSuYiRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("沧州速易融对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/CheYouRongCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Component;
@@ -70,11 +70,11 @@ public class CheYouRongCreditService implements LoanDockingApi {
 
 
     }
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit JiangXiCheYouRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("江西车优融对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChengDuYiHeShengCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.codec.binary.Base64;
@@ -70,11 +70,11 @@ public class ChengDuYiHeShengCreditService implements LoanDockingApi {
         private Integer has_ali_score;//是否有芝麻分,0,0-599,1.600-649,2.650-699,3.700+
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit ChengDuYiHeShengCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("成都亿禾生对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChengHongHuiCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -80,11 +80,11 @@ public class ChengHongHuiCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
 //            log.info("credit ChengHongHuiCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
 //            log.info("晨宏汇对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChongQinDongRunCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Component;
@@ -93,11 +93,11 @@ public class ChongQinDongRunCreditService implements LoanDockingApi {
         private String dataStr;// 加密后参数
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit ChongQinDongRunCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("重庆东润对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChongQingRuiShangXinCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.codec.binary.Base64;
@@ -87,11 +87,11 @@ public class ChongQingRuiShangXinCreditService implements LoanDockingApi {
     "iv": "18521959"
     }
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit ChongQingRuiShangXinCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("重庆睿双鑫对接参数:{}", JSON.toJSONString(config));

+ 11 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChongQingYiYueCreditService.java

@@ -2,16 +2,17 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -74,11 +75,11 @@ public class ChongQingYiYueCreditService implements LoanDockingApi {
 
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit ChongQingYiYueCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("重庆易悦对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ChuanjinCreditService.java

@@ -3,15 +3,15 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -72,11 +72,11 @@ public class ChuanjinCreditService implements LoanDockingApi {
     }
 
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit ChuanjinCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            Object requestConfig = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()) ;
+           
+            Object requestConfig = HessianUtils.deserialize(configInfo.getRequestConfig()) ;
             JSONObject config = JSONObject.parseObject(requestConfig.toString());
             log.info("川金对接参数:{}", JSON.toJSONString(config));
             String url = config.getString("url") + qualityCheckPath;

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DeLuoXuanAesCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -69,11 +69,11 @@ public class DeLuoXuanAesCreditService implements LoanDockingApi {
         private Integer platform_id;//不需要回传值为 0,回传必传(平台提供)
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit DeLuoXuanAesCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("德诺轩AES对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DeLuoXuanCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -69,11 +69,11 @@ public class DeLuoXuanCreditService implements LoanDockingApi {
 
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit DeLuoXuanCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("德诺轩对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DeZhouXinYiRongCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -73,11 +73,11 @@ public class DeZhouXinYiRongCreditService implements LoanDockingApi {
         private Integer fund;//公积金 1:有 2:无
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit DeZhouXinYiRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("德州鑫易融对接参数:{}", JSONObject.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DeZhouXinYiRongV2CreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -71,11 +71,11 @@ public class DeZhouXinYiRongV2CreditService implements LoanDockingApi {
 
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit DeZhouXinYiRongV2CreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("德州鑫易融V2对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/DfrzwCreditService.java

@@ -1,17 +1,17 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.DateUtil;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
 import org.apache.http.HttpResponse;
@@ -61,7 +61,7 @@ public class DfrzwCreditService implements LoanDockingApi {
         return ServerCodeEnums.DongFangRZ;
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
 
         String cellPhoneNumber = userInfo.getPhoneMd5().toLowerCase();
         Boolean isNotBlack = preFilter(cellPhoneNumber);
@@ -69,9 +69,9 @@ public class DfrzwCreditService implements LoanDockingApi {
             log.info("东方融资网准入失败,用户手机号在黑名单中:{}",cellPhoneNumber);
             return DataVo.fail(1, "东方融资网准入失败,用户手机号在黑名单中", product.getPlanId());
         }
-        EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
 
-        Object deserialize = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig());
+
+        Object deserialize = HessianUtils.deserialize(configInfo.getRequestConfig());
         JSONObject data = JSONObject.parseObject(deserialize.toString());
         String url = data.getString("url");
         String timeStampStr = DateUtil.getFormatDate(new Date(), "yyyyMMddHHmmss");

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/FangxinwangiCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.http.HttpResponse;
@@ -79,12 +79,12 @@ public class FangxinwangiCreditService implements LoanDockingApi {
      * @return
      *  {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit FangxinwangCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
+
+            String configJson = HessianUtils.deserialize(configInfo.getRequestConfig()).toString();
             JSONObject fangxinwangJointDTO = JSON.parseObject(configJson);
             log.info("放心网对接参数:{}", JSON.toJSONString(fangxinwangJointDTO));
             String url = fangxinwangJointDTO.getString("url") + qualityCheckPath;

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/FuChengCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.codec.binary.Base64;
@@ -62,11 +62,11 @@ public class FuChengCreditService implements LoanDockingApi {
     }
 
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit FuChengCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("福程对接参数:{}", JSON.toJSONString(config));

+ 11 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/FuZhouBeiJiuCreditService.java

@@ -3,16 +3,17 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONArray;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -48,11 +49,11 @@ public class FuZhouBeiJiuCreditService implements LoanDockingApi {
     }
 
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit FuZhouBeiJiuCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("福州北久对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/FuZhouBeiYinJinRongCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -91,11 +91,11 @@ public class FuZhouBeiYinJinRongCreditService implements LoanDockingApi {
      * 	"publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsLuutChHG1O_PG6Xo7IE6EMr9S5DdIc4PX2T0OoWqf7-jLMvdgq0ueEBPXC-JmyE-vHFkejVwZBwte7eoVaW6KeW0v1FYuN_hDA7bra__zWpLKnlyvYs8TsqkwbCq5EhL7pnhi08ypoEEXQVsyjjBy7cttDMWz7b4bjkEPSdWulmTKeOadLJKdGA95MpC1kbA_TlKJf4bwaBluWSFdb7jyms-KtzcCygQLVD5z1NcPIQVe44HXGUYqelThZ0MwokcnLS2ow7RpkE3_-ut0Lrwk9zT2gJ3_gPEL6IE1XXXvsDZwsKdv252AfBiZwUqVc26XsMd7pd-jowK1QiLnOmSQIDAQAB"
      * }
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit FuZhouBeiYinJinRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("福州北银金融对接参数:{}", JSON.toJSONString(config));

+ 11 - 11
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GexinjinfuCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -39,7 +39,7 @@ public class GexinjinfuCreditService implements LoanDockingApi {
 
 
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.Gexinjinfu;
     }
 
@@ -76,11 +76,11 @@ public class GexinjinfuCreditService implements LoanDockingApi {
      * @return
      *  {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit GexinjinfuCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
+           
+            String configJson = HessianUtils.deserialize(configInfo.getRequestConfig()).toString();
             JSONObject gexinjinfuJointDTO = JSON.parseObject(configJson);
             log.info("格鑫金服对接参数:{}", JSON.toJSONString(gexinjinfuJointDTO));
             String md5 = userInfo.getPhoneMd5() == null ? Md5Util.encoderByMd5(userInfo.getUserMobile()) : userInfo.getPhoneMd5();

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GuanZhouPuHuiCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -62,11 +62,11 @@ public class GuanZhouPuHuiCreditService  implements LoanDockingApi {
         private String remarks; //备注
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit GuanZhouPuHuiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("广州普惠对接参数:{}", JSONObject.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GuangDongHaoEnCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -64,11 +64,11 @@ public class GuangDongHaoEnCreditService implements LoanDockingApi {
         private Integer zhima;//芝麻分
         private Integer additional;//其他信息
     }
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit GuangDongHaoEnCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("广东昊恩对接参数:{}", JSONObject.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GuangDongHongZhanCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -49,11 +49,11 @@ import javax.annotation.Resource;
         private String area;//城市
         private String situation;//备注
     }
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit GuangDongHongZhanCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("广东鸿展对接参数:{}", JSONObject.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/GuangZhouHuaXinCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -84,11 +84,11 @@ public class GuangZhouHuaXinCreditService implements LoanDockingApi {
 
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit GuangZhouHuaXinCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("广州华鑫对接参数:{}", JSONObject.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HamiguaCreditService.java

@@ -2,15 +2,15 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.http.HttpResponse;
@@ -73,12 +73,12 @@ public class HamiguaCreditService implements LoanDockingApi {
      * @return
      *  {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit HamiguaCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString() ;
+           
+            String configJson = HessianUtils.deserialize(configInfo.getRequestConfig()).toString() ;
             JSONObject hamiguaJointDTO = JSON.parseObject(configJson);
             log.info("哈密瓜对接参数:{}", JSON.toJSONString(hamiguaJointDTO));
 //            CheckInfo checkInfo = new CheckInfo();

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HaohanwuyinCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -77,11 +77,11 @@ public class HaohanwuyinCreditService implements LoanDockingApi {
      *  {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit HaohanwuyinCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString() ;
+           
+            String configJson = HessianUtils.deserialize(configInfo.getRequestConfig()).toString() ;
             JSONObject HaohanwuyinJointDTO = JSON.parseObject(configJson);
             log.info("灏瀚无崟对接参数:{}", JSON.toJSONString(HaohanwuyinJointDTO));
             Map<String,String> checkData = new HashMap<>();

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HeFeiShenDaiCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -32,6 +32,7 @@ public class HeFeiShenDaiCreditService implements LoanDockingApi {
 
 
 
+
     @Override
     public ServerCodeEnums getType() {
         return ServerCodeEnums.HeFeiShenDai;
@@ -55,11 +56,10 @@ public class HeFeiShenDaiCreditService implements LoanDockingApi {
     }
 
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product,EgLoanApiConfigInfoCmd configInfoDo) {
         try {
             log.info("credit HeFeiShenDaiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+            byte[] requestConfig = configInfoDo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("合肥盛代对接参数:{}", JSONObject.toJSONString(config));

+ 11 - 11
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HeZeRongXinCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -33,7 +33,7 @@ public class HeZeRongXinCreditService implements LoanDockingApi {
     private RetryRestTemplate httpRestTemplate;
 
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.HeZeRongXin;
     }
     @Data
@@ -57,11 +57,11 @@ public class HeZeRongXinCreditService implements LoanDockingApi {
         private Integer credit;//是否有信用卡 (  1:有  0:无 )
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit HeZeRongXinCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("菏泽融信对接参数:{}", JSON.toJSONString(config));

+ 11 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HengYangJiuZhenCreditService.java

@@ -1,15 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.http.HttpEntity;
@@ -73,11 +74,11 @@ public class HengYangJiuZhenCreditService implements LoanDockingApi {
 
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
 //            log.info("credit YunHaiLianDongCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
 

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HengaiCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.core.env.Environment;
@@ -99,12 +99,12 @@ public class HengaiCreditService implements LoanDockingApi {
     }
 
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit HengaiCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("恒爱对接参数:{}", JSON.toJSONString(config));

+ 11 - 11
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HongShengJinFuCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.http.HttpEntity;
@@ -38,7 +38,7 @@ public class HongShengJinFuCreditService implements LoanDockingApi {
 
 
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.HongShengJinFu;
     }
 
@@ -69,10 +69,10 @@ public class HongShengJinFuCreditService implements LoanDockingApi {
         private String remark;
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("弘盛金服对接参数:{}", JSONObject.toJSONString(config));

+ 12 - 11
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HongXinPuHuiCreditService.java

@@ -1,16 +1,17 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.http.HttpResponse;
@@ -38,7 +39,7 @@ public class HongXinPuHuiCreditService implements LoanDockingApi {
 
 
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.HongXinPuHui;
     }
 
@@ -70,11 +71,11 @@ public class HongXinPuHuiCreditService implements LoanDockingApi {
         private Integer is_encrypt;//是否加密(1:是 0:否)
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit HongXinPuHuiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("弘鑫普惠对接参数:{}", JSONObject.toJSONString(config));

+ 11 - 11
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HuNanDiShuiYanCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.codec.binary.Base64;
@@ -34,7 +34,7 @@ public class HuNanDiShuiYanCreditService implements LoanDockingApi {
     @Resource
     private RetryRestTemplate httpRestTemplate;
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.HuNanDiShuiYan;
     }
 
@@ -60,11 +60,11 @@ public class HuNanDiShuiYanCreditService implements LoanDockingApi {
         private Integer note; //备注可为空(其他信息可传这
     }
 
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit HuNanDiShuiYanCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("湖南滴水岩对接参数:{}", JSON.toJSONString(config));

+ 9 - 9
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HuirongCrmCreditService.java

@@ -2,16 +2,17 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
@@ -60,11 +61,10 @@ public class HuirongCrmCreditService implements LoanDockingApi {
      *
      * @return {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfoCmd) {
         try {
             log.info("credit HuirongCrmCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            String config = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
+            String config = HessianUtils.deserialize(configInfoCmd.getRequestConfig()).toString();
             JSONObject huirongJointDTO = JSON.parseObject(config);
             String url = huirongJointDTO.getString("checkUrl");
             CheckData checkData = new CheckData();

+ 11 - 11
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HuixinCreditService.java

@@ -1,16 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.StringDecodeUtils;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.http.HttpEntity;
@@ -42,7 +42,7 @@ public class HuixinCreditService implements LoanDockingApi {
 
 
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.Huixin;
     }
 
@@ -89,12 +89,12 @@ public class HuixinCreditService implements LoanDockingApi {
      * @param product
      * @return {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit HuixinCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
+           
+            String configJson = HessianUtils.deserialize(configInfo.getRequestConfig()).toString();
             JSONObject huiXinJointDTO = JSONObject.parseObject(configJson);
             log.info("汇鑫对接参数:{}", JSONObject.toJSONString(huiXinJointDTO));
 

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/HuizhongCreditService.java

@@ -2,15 +2,15 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.codec.binary.Base64;
@@ -90,12 +90,12 @@ public class HuizhongCreditService implements LoanDockingApi {
      * @return
      *  {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit HuizhongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("惠众对接参数:{}", JSON.toJSONString(config));

+ 11 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JianZhanCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.http.HttpResponse;
@@ -92,11 +92,12 @@ public class JianZhanCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd user, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd user, PlanCmd product, EgLoanApiConfigInfoCmd configInfoCmd) {
         try {
             log.info("credit JianZhanCreditService qualityCheck begin...userId:{}", user.getPhoneMd5());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig =
+            configInfoCmd.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("建站100对接参数:{}", JSON.toJSONString(config));

+ 11 - 11
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JiechengCreditService.java

@@ -2,15 +2,15 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -32,7 +32,7 @@ public class JiechengCreditService implements LoanDockingApi {
     private RetryRestTemplate httpRestTemplate;
 
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.Jiecheng;
     }
 
@@ -45,12 +45,12 @@ public class JiechengCreditService implements LoanDockingApi {
      *  {"key":"5lvNIA1Kmchq2gu3C9P5g+rttvQXq3lh","url":"http://www.cs.ahaiyu.com"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit JiechengCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("捷诚对接参数:{}", JSON.toJSONString(config));

+ 10 - 9
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JilingHuiRongCreditService.java

@@ -2,16 +2,17 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -53,11 +54,11 @@ public class JilingHuiRongCreditService implements LoanDockingApi {
      *
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit JilingHuiRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("济宁惠融对接参数:{}", JSON.toJSONString(config));

+ 9 - 9
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JinDieV2CreditService.java

@@ -3,16 +3,17 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONArray;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
@@ -56,12 +57,11 @@ public class JinDieV2CreditService implements LoanDockingApi {
      * @return {"url":"http://apitest.shlyxxjs.com","key":"fluxZhudai*_key","tenantId":"1405729496904110081","trafficPlatformId":"13872425018351111"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo) {
         try {
             log.info("credit JindieV2CreditService qualityCheck begin...userId:{},productId={}", userInfo.getUserId(), product.getPlanId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
 
-            String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
+            String configJson = HessianUtils.deserialize(configInfo.getRequestConfig()).toString();
             if (StringUtils.isBlank(configJson)) {
                 return DataVo.fail(product.getPlanName(), product.getPlanId());
             }

+ 9 - 9
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JinDieV3CreditService.java

@@ -2,15 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
@@ -59,11 +60,10 @@ public class JinDieV3CreditService implements LoanDockingApi {
      * @return {"url":"http://apitest.shlyxxjs.com","key":"fluxZhudai*_key","tenantId":"1405729496904110081","trafficPlatformId":"13872425018351111"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo) {
         try {
             log.info("credit JinDieV3CreditService qualityCheck begin...userId:{},productId={}", userInfo.getUserId(), product.getPlanId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
+            String configJson = HessianUtils.deserialize(configInfo.getRequestConfig()).toString();
             if (StringUtils.isBlank(configJson)) {
                 return DataVo.fail(product.getPlanName(), product.getPlanId());
             }

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JinDieV4CreditService.java

@@ -44,11 +44,11 @@ public class JinDieV4CreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit JinDieV4CreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("锦蝶v4对接参数:{}", JSONObject.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JinZhuLiCreditService.java

@@ -76,11 +76,11 @@ public class JinZhuLiCreditService  implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit JinZhuLiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
 

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JindieCreditService.java

@@ -3,15 +3,15 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
 import com.fasterxml.jackson.annotation.JsonProperty;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -45,12 +45,12 @@ public class JindieCreditService implements LoanDockingApi {
      * @return {"url":"https://jyw.jinchen.cc","Appid":"zZyeD3+kkEQVRWno","Appkey":"y52RC3muwUdtOhWe1Z0qo8FlFA","Channel":"网络渠道","ChannelInfo":"融5"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo)  {
         try {
             log.info("credit JindieCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("锦蝶对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/JiuXinKeCreditService.java

@@ -53,11 +53,11 @@ public class JiuXinKeCreditService implements LoanDockingApi {
      * @return
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit JiuXinKeCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("玖欣客对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiYiRongCreditService.java

@@ -55,11 +55,11 @@ public class KuaiYiRongCreditService implements LoanDockingApi {
      *  {"channel_code":"34","checkUrl":"http://120.46.41.14:8888/api/customer/collisionLibrary","channel_secret_key":"HrYk20230829KYR6"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit KuaiYiRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("快易融对接参数:{}", JSON.toJSONString(config));

+ 2 - 2
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiyidaiCreditService.java

@@ -63,11 +63,11 @@ public class KuaiyidaiCreditService implements LoanDockingApi {
      *  {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit KuaiyidaiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
+           
             String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
             JSONObject kuaiyidaiJointDTO = JSONObject.parseObject(configJson);
             log.info("快易贷对接参数:{}", JSON.toJSONString(kuaiyidaiJointDTO));

+ 2 - 2
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiyidaiFourToOneCreditService.java

@@ -58,10 +58,10 @@ public class KuaiyidaiFourToOneCreditService implements LoanDockingApi {
      *  {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit KuaiyidaiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
+           
             String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
             JSONObject kuaiyidaiJointDTO = JSON.parseObject(configJson);
             log.info("快易贷对接参数:{}", JSON.toJSONString(kuaiyidaiJointDTO));

+ 2 - 2
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiyidaiNightCreditService.java

@@ -63,10 +63,10 @@ public class KuaiyidaiNightCreditService implements LoanDockingApi {
      *  {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit KuaiyidaiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
+           
             String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
             JSONObject kuaiyidaiJointDTO = JSON.parseObject(configJson);
             log.info("快易贷对接参数:{}", JSON.toJSONString(kuaiyidaiJointDTO));

+ 2 - 2
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KuaiyidaiV2CreditService.java

@@ -67,10 +67,10 @@ public class KuaiyidaiV2CreditService implements LoanDockingApi {
      *  {"channelSource":"birong","url":"http://apitest.shlyxxjs.com","key":"mgjr@3des123#dhjr9763089"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit KuaiyidaiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
+
             String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
             JSONObject kuaiyidaiJointDTO = JSON.parseObject(configJson);
             log.info("快易贷对接参数:{}", JSON.toJSONString(kuaiyidaiJointDTO));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/KunMingXiaoSongShuCreditService.java

@@ -53,11 +53,11 @@ public class KunMingXiaoSongShuCreditService implements LoanDockingApi {
      * @return
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit KunMingXiaoSongShuCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("昆明小松鼠代对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/LeXiangRongCreditService.java

@@ -44,11 +44,11 @@ public class LeXiangRongCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit LeXiangRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("乐享融对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/LianKeYunKongCreditService.java

@@ -76,11 +76,11 @@ public class LianKeYunKongCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit LianKeYunKongCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("链客云控对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/LiaoChengXinYiDaiCreditService.java

@@ -59,12 +59,12 @@ public class LiaoChengXinYiDaiCreditService implements LoanDockingApi {
      *  {"source":"xy_dxhb","checkUrl":"http://api-crm.krdcrm.cn:8181/home/encryptCheckCustomer","publicKey":"hxW7zT4BI9siImpE"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit LiaoChengXinYiDaiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("聊城鑫易代对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/MoGuTouCreditService.java

@@ -50,11 +50,11 @@ public class MoGuTouCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit SouYuJinFuCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("蘑菇投对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/NanTongXingChengCreditService.java

@@ -59,11 +59,11 @@ public class NanTongXingChengCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit NanTongXingChengCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("南通星辰对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/NiYouKeCreditService.java

@@ -43,11 +43,11 @@ public class NiYouKeCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit NiYouKeCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("尼优客对接参数:{}", JSONObject.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/NingBoTianChengCreditService.java

@@ -60,11 +60,11 @@ public class NingBoTianChengCreditService implements LoanDockingApi {
      *
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit NingBoTianChengCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("宁波天澄对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/OpenApiAesCreditService.java

@@ -1,15 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -51,11 +52,10 @@ public class OpenApiAesCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo) {
         log.info("credit OpenApiAesCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
         try {
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
 
@@ -88,7 +88,7 @@ public class OpenApiAesCreditService implements LoanDockingApi {
 
 
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.OPEN_API_AES;
     }
 

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/OpenApiCreditService.java

@@ -1,15 +1,16 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
@@ -56,11 +57,10 @@ public class OpenApiCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo) {
         log.info("credit OpenApiCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
         try {
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            String config = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
+            String config = HessianUtils.deserialize(configInfo.getRequestConfig()).toString();
             JSONObject jsonObject = JSONObject.parseObject(config);
             if (StringUtils.isAnyEmpty(jsonObject.getString("openapiCheckUrl"), jsonObject.getString("openapiAccessKeySecret"))) {
                 return DataVo.fail(product.getPlanName(), product.getPlanId());
@@ -92,7 +92,7 @@ public class OpenApiCreditService implements LoanDockingApi {
 
 
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.OPEN_API;
     }
 

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/PingDingShanCreditService.java

@@ -55,11 +55,11 @@ public class PingDingShanCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit PingDingShanCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("平顶山对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/PingXunCreditService.java

@@ -72,12 +72,12 @@ public class PingXunCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit PingXunCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("平讯对接参数:{}", JSON.toJSONString(config));

+ 7 - 6
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/PubNoCheckCreditService.java

@@ -1,10 +1,11 @@
 package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
-import com.hrsk.cloud.eg.vo.response.DataVo;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.stereotype.Component;
@@ -32,7 +33,7 @@ public class PubNoCheckCreditService implements LoanDockingApi {
      * @return
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfoCmd) {
         log.info("虚假的助贷撞库请求参数 userInfo:{}  product:{}", userInfo, product);
         String productName = "";
         if (null != product && StringUtils.isNotBlank(product.getPlanName())){

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingDaoAoSengCreditService.java

@@ -40,11 +40,11 @@ public class QingDaoAoSengCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
 //            log.info("credit YunHaiLianDongCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
 

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingDaoAoSengV2CreditService.java

@@ -42,11 +42,11 @@ public class QingDaoAoSengV2CreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
 //            log.info("credit YunHaiLianDongCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
 

+ 10 - 11
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingyuCreditService.java

@@ -2,16 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
-import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.AllArgsConstructor;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
@@ -37,7 +37,7 @@ public class QingyuCreditService implements LoanDockingApi {
     @Resource
     private RetryRestTemplate httpRestTemplate;
 
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return null;
     }
 
@@ -53,11 +53,10 @@ public class QingyuCreditService implements LoanDockingApi {
      * @return {"url":"http://apitest.shlyxxjs.com","key":"fluxZhudai*_key","tenantId":"1405729496904110081","trafficPlatformId":"13872425018351111"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo) {
         try {
             log.info("credit QingyuCreditService qualityCheck begin...userId:{},productId={}", userInfo.getUserId(), product.getPlanId());
-            EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            String configJson = HessianUtils.deserialize(loanApiConfigInfo.getApiConfig()).toString();
+            String configJson = HessianUtils.deserialize(configInfo.getRequestConfig()).toString();
             if (StringUtils.isBlank(configJson)) {
                 return DataVo.timeout(product.getPlanId(), product.getPlanName());
             }

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingyuV2CreditService.java

@@ -3,16 +3,17 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONArray;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.cglib.beans.BeanMap;
@@ -42,7 +43,7 @@ public class QingyuV2CreditService implements LoanDockingApi {
     @Resource
     private RetryRestTemplate httpRestTemplate;
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.CRM_QY_V2;
     }
 
@@ -56,11 +57,10 @@ public class QingyuV2CreditService implements LoanDockingApi {
      * @return {"url":"http://apitest.shlyxxjs.com","key":"fluxZhudai*_key","tenantId":"1405729496904110081","trafficPlatformId":"13872425018351111"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfoCmd) {
         try {
             log.info("credit QingyuV2CreditService qualityCheck begin...userId:{},productId={}", userInfo.getUserId(), product.getPlanId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+            byte[] requestConfig = configInfoCmd.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("庆鱼V2.0对接参数:{}", JSON.toJSONString(config));

+ 9 - 9
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/QingyuV3CreditService.java

@@ -3,16 +3,17 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONArray;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
 import com.hrsk.cloud.eg.infrastructure.utils.Md5Util;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.cglib.beans.BeanMap;
@@ -53,11 +54,10 @@ public class QingyuV3CreditService implements LoanDockingApi {
      * }
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo) {
         try {
             log.info("credit QingyuV3CreditService qualityCheck begin...userId:{},productId={}", userInfo.getUserId(), product.getPlanName());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("庆鱼V3.0对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongChuangJinFuCreditService.java

@@ -49,11 +49,11 @@ public class RongChuangJinFuCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit RongChuangJinFuCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("融创金服对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongXiangDaChangShaCreditService.java

@@ -65,11 +65,11 @@ public class RongXiangDaChangShaCreditService implements LoanDockingApi {
      * }
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit RongXiangDaChangShaCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("融享达长沙对接参数:{}", JSONObject.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongXiangKeBuShuCreditService.java

@@ -69,11 +69,11 @@ public class RongXiangKeBuShuCreditService implements LoanDockingApi {
      * }
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit RongXiangKeBuShuCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("融享客部署模式对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongXiangKeV2CreditService.java

@@ -65,11 +65,11 @@ public class RongXiangKeV2CreditService implements LoanDockingApi {
      * }
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit RongXiangKeV2CreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("融享客V2对接参数:{}", JSONObject.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongYiDaCreditService.java

@@ -63,11 +63,11 @@ public class RongYiDaCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit RongYiDaCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("融易达对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongkedaiCreditService.java

@@ -46,12 +46,12 @@ public class RongkedaiCreditService implements LoanDockingApi {
      *  {"url":"http://47.106.81.101:8811"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit RongkedaiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("融客贷对接参数:{}", JSONObject.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongshengCreditService.java

@@ -70,12 +70,12 @@ public class RongshengCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit RongshengCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("荣晟对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RongxiziCreditService.java

@@ -59,12 +59,12 @@ public class RongxiziCreditService implements LoanDockingApi {
      * {"token":"UWDSdzJHCq3KnrLwuBaPBBGX8Hs0oEY3","vender_name":"birong","appid":"20076","appkey":"05xduuQdn6r46giJji91aXDlzEeOT5Be"}
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit RongxiziCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
 //            XdProductJointConfig xdProductJointConfig = xdProductJointConfigMapper.selectById(product.getJointType());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("荣西子对接参数:{}", JSONObject.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RunMeiXinYiRongCreditService.java

@@ -45,11 +45,11 @@ public class RunMeiXinYiRongCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit RunMeiXinYiRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("润美对接参数:{}", JSON.toJSONString(config));

+ 10 - 10
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/RxkCreditService.java

@@ -2,15 +2,16 @@ package com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.impl;
 
 import com.alibaba.fastjson2.JSON;
 import com.alibaba.fastjson2.JSONObject;
-import com.hrsk.cloud.eg.app.constant.ServerCodeEnums;
-import com.hrsk.cloud.eg.app.threedocking.LoanDockingApi;
-import com.hrsk.cloud.eg.dto.data.egPlan.PlanCmd;
-import com.hrsk.cloud.eg.dto.data.user.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.EgLoanApiConfigInfoCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.plan.command.PlanCmd;
+import com.hrsk.cloud.eg.clinet.dto.data.user.command.UserBaseInfoCmd;
+import com.hrsk.cloud.eg.clinet.vo.DataVo;
+import com.hrsk.cloud.eg.domain.common.constant.ServerCodeEnums;
 import com.hrsk.cloud.eg.infrastructure.config.client.HessianUtils;
-import com.hrsk.cloud.eg.infrastructure.config.client.config.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.config.client.RetryRestTemplate;
+import com.hrsk.cloud.eg.infrastructure.loanMannager.threedocking.LoanDockingApi;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgLoanApiConfigInfoDo;
 import com.hrsk.cloud.eg.infrastructure.service.EgApiService;
-import com.hrsk.cloud.eg.vo.response.DataVo;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
@@ -68,11 +69,10 @@ public class RxkCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd configInfo) {
         log.info("credit RxkCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
         try {
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("融享客对接参数:{}", JSON.toJSONString(config));
@@ -112,7 +112,7 @@ public class RxkCreditService implements LoanDockingApi {
     }
 
     @Override
-    public ServerCodeEnums  getType() {
+    public ServerCodeEnums getType() {
         return ServerCodeEnums.CRM_RXK;
     }
 

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShanDongBangBangDaiCreditService.java

@@ -46,11 +46,11 @@ public class ShanDongBangBangDaiCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit ShanDongBangBangDaiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("山东帮帮代对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShanXiHengShengDaiCreditService.java

@@ -68,11 +68,11 @@ public class ShanXiHengShengDaiCreditService implements LoanDockingApi {
     }
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit ShanXiHengShengDaiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("山西恒昇对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShanXiMingDePuHuiCreditService.java

@@ -59,11 +59,11 @@ public class ShanXiMingDePuHuiCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit ShanXiMingDePuHuiCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("陕西明德普惠对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShangHaiHanGeCreditService.java

@@ -47,10 +47,10 @@ public class ShangHaiHanGeCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("上海晗各对接参数:{}", JSONObject.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShangHaiJuHuiRongCreditService.java

@@ -42,11 +42,11 @@ public class ShangHaiJuHuiRongCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit ShangHaiJuHuiRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("上海聚汇融对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShenLuoJinFuCreditService.java

@@ -51,10 +51,10 @@ public class ShenLuoJinFuCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("盛略金服对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShenYangHengXinCreditService.java

@@ -50,11 +50,11 @@ public class ShenYangHengXinCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit ShenYangHengXinCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("沈阳恒信对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShenYangXinYiRongCreditService.java

@@ -47,11 +47,11 @@ public class ShenYangXinYiRongCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit ShenYangXinYiRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("沈阳信易融对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShiYueCreditService.java

@@ -61,11 +61,11 @@ public class ShiYueCreditService implements LoanDockingApi {
      *
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit ShiYueCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("司跃对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/ShuRongCreditService.java

@@ -52,11 +52,11 @@ public class ShuRongCreditService implements LoanDockingApi {
     }
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit ShuRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("速融对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/SiChuangRuiCreditService.java

@@ -61,11 +61,11 @@ public class SiChuangRuiCreditService implements LoanDockingApi {
      * }
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit SiChuangRuiCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("思创瑞对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/SouYuJinFuCreditService.java

@@ -51,11 +51,11 @@ public class SouYuJinFuCreditService implements LoanDockingApi {
 
 
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit SouYuJinFuCreditService qualityCheck begin...userId:{}", userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("授渔金服对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/SuZhouJianYiRongCreditService.java

@@ -52,11 +52,11 @@ public class SuZhouJianYiRongCreditService implements LoanDockingApi {
 
     }
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit SuZhouJianYiRongCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("苏州简易融对接参数:{}", JSON.toJSONString(config));

+ 3 - 3
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/loanMannager/threedocking/impl/SuzhouchangshuoCreditService.java

@@ -67,11 +67,11 @@ public class SuzhouchangshuoCreditService implements LoanDockingApi {
      * @return
      */
     @Override
-    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product) {
+    public DataVo qualityCheck(UserBaseInfoCmd userInfo, PlanCmd product, EgLoanApiConfigInfoCmd    configInfo)  {
         try {
             log.info("credit SuzhouchangshuoCreditService qualityCheck begin...userId:{}",userInfo.getUserId());
-           EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(product.getApiId());
-            byte[] requestConfig = loanApiConfigInfo.getApiConfig();
+          
+            byte[] requestConfig = configInfo.getRequestConfig();
             Object deserialize = HessianUtils.deserialize(requestConfig);
             JSONObject config = JSONObject.parseObject(deserialize.toString());
             log.info("苏州昌硕对接参数:{}", JSON.toJSONString(config));

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff