|
|
@@ -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();
|