Преглед на файлове

Merge branch 'qtz1' of SH-Arbitrate/Mediation-Backend into dev

qtz преди 2 години
родител
ревизия
0fc6595fb3

+ 2
- 7
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/DigesdateUtils.java Целия файл

@@ -33,11 +33,9 @@ public class DigesdateUtils {
33 33
         String stmpHex;
34 34
         for (int n = 0; byteArrayData != null && n < byteArrayData.length; n++) {
35 35
             stmpHex = Integer.toHexString(byteArrayData[n] & 0XFF);
36
-            if (stmpHex.length() == 1){
36
+            if (stmpHex.length() == 1)
37 37
                 hashBuilder.append('0');
38
-            }else {
39
-                hashBuilder.append(stmpHex);
40
-            }
38
+            hashBuilder.append(stmpHex);
41 39
         }
42 40
         return hashBuilder.toString();
43 41
     }
@@ -45,7 +43,4 @@ public class DigesdateUtils {
45 43
 
46 44
 
47 45
 
48
-
49
-
50
-
51 46
 }

+ 6
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignVerifyUtils.java Целия файл

@@ -2,6 +2,9 @@ package com.ruoyi.wisdomarbitrate.utils;
2 2
 
3 3
 import com.ruoyi.common.utils.EsignApplicaConfig;
4 4
 import com.ruoyi.common.utils.StringUtils;
5
+import com.ruoyi.wisdomarbitrate.service.miniprogress.impl.IdentityAuthenticationServiceImpl;
6
+import org.slf4j.Logger;
7
+import org.slf4j.LoggerFactory;
5 8
 import org.springframework.web.context.request.RequestContextHolder;
6 9
 import org.springframework.web.context.request.ServletRequestAttributes;
7 10
 
@@ -17,6 +20,7 @@ public class SignVerifyUtils {
17 20
     private static String eSignAppSecret = EsignApplicaConfig.EsignAppSecret;
18 21
 
19 22
 
23
+
20 24
     public static boolean checkSignuter() throws Exception {
21 25
         HttpServletRequest httprequest = ((ServletRequestAttributes) (RequestContextHolder.currentRequestAttributes())).getRequest();
22 26
         String orialsignature =  httprequest.getHeader("X-Tsign-Open-SIGNATURE");
@@ -40,6 +44,8 @@ public class SignVerifyUtils {
40 44
         }
41 45
     }
42 46
 
47
+
48
+
43 49
     public static  String getHttpreqQuery() {
44 50
         HttpServletRequest httprequest = ((ServletRequestAttributes) (RequestContextHolder.currentRequestAttributes())).getRequest();
45 51
         List<String> reqNames= new ArrayList();