Ver código fonte

优化立案申请功能

qitz 2 anos atrás
pai
commit
c484a45822

+ 7
- 7
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/IdentityAuthenticationServiceImpl.java Ver arquivo

@@ -65,17 +65,17 @@ public class IdentityAuthenticationServiceImpl  implements IdentityAuthenticatio
65 65
         IdentityAuthentication identityAuthentication = new IdentityAuthentication();
66 66
         try{
67 67
             //        Credential credIdenAuth = new Credential(SECRET_ID, SECRET_KEY);
68
-            Credential credIdenAuth = new Credential(credentialSecretId, credentialSecretKey);
68
+            Credential authenti = new Credential(credentialSecretId, credentialSecretKey);
69 69
             HttpProfile httpProfileIdenAuth = new HttpProfile();
70 70
             httpProfileIdenAuth.setEndpoint("faceid.tencentcloudapi.com");
71
-            ClientProfile clientProfileIdenAuth = new ClientProfile();
72
-            clientProfileIdenAuth.setHttpProfile(httpProfileIdenAuth);
73
-            FaceidClient clientIdenAuth = new FaceidClient(credIdenAuth, "", clientProfileIdenAuth);
71
+            ClientProfile clientInv= new ClientProfile();
72
+            clientInv.setHttpProfile(httpProfileIdenAuth);
73
+            FaceidClient clientIdenAuth = new FaceidClient(authenti, "", clientInv);
74 74
             // 实例化一个请求对象
75
-            GetEidTokenRequest reqIdenAuth = new GetEidTokenRequest();
75
+            GetEidTokenRequest reqest = new GetEidTokenRequest();
76 76
             //设置请求参数
77
-            reqIdenAuth.setMerchantId(merchantId);
78
-            GetEidTokenResponse respIdenAuth = clientIdenAuth.GetEidToken(reqIdenAuth);
77
+            reqest.setMerchantId(merchantId);
78
+            GetEidTokenResponse respIdenAuth = clientIdenAuth.GetEidToken(reqest);
79 79
             String respJSON = GetEidTokenResponse.toJsonString(respIdenAuth);
80 80
             JSONObject objJSON = JSON.parseObject(respJSON);
81 81
             JSONObject objJSONRes = (JSONObject) objJSON.get("Response");

+ 1
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseAttachMapper.xml Ver arquivo

@@ -46,7 +46,7 @@
46 46
         update case_attach
47 47
         set
48 48
         case_appli_id= #{caseAppliId}
49
-        where annexId = #{annex_id}
49
+        where annex_id = #{annexId}
50 50
     </update>
51 51
 
52 52