diff --git a/pom.xml b/pom.xml index fc264ff..39633b7 100644 --- a/pom.xml +++ b/pom.xml @@ -9,10 +9,10 @@ com.bonus.boot - zhly-service - 0.0.1-SNAPSHOT - zhly-service - zhly-service + szgqj-service + 1.0.0.1-SNAPSHOT + szgqj-service + szgqj-service 1.8 @@ -155,7 +155,7 @@ com.alibaba fastjson - 1.2.28 + 1.2.83 @@ -330,24 +330,26 @@ - - - - org.springframework.boot - spring-boot-maven-plugin - - true - - - - org.apache.maven.plugins - 2.6 - maven-resources-plugin - - UTF-8 - - - - + + + + + + org.springframework.boot + spring-boot-maven-plugin + + true + + + + org.apache.maven.plugins + 2.6 + maven-resources-plugin + + UTF-8 + + + + diff --git a/src/main/java/com/bonus/aqgqj/advice/DecryptAndVerifyAspect.java b/src/main/java/com/bonus/aqgqj/advice/DecryptAndVerifyAspect.java index e954ae3..327b33a 100644 --- a/src/main/java/com/bonus/aqgqj/advice/DecryptAndVerifyAspect.java +++ b/src/main/java/com/bonus/aqgqj/advice/DecryptAndVerifyAspect.java @@ -42,6 +42,7 @@ public class DecryptAndVerifyAspect { if (annotation == null || annotation.decryptedClass() == null) { throw new DecryptAndVerifyException(joinPoint.getSignature().getName() + ",未指定解密类型"); } + System.setProperty("com.alibaba.fastjson.asmEnable", "false"); encryptedReq.setData(JSON.parseObject(decryptedData, annotation.decryptedClass())); return joinPoint.proceed(); } diff --git a/src/main/java/com/bonus/aqgqj/filter/TokenFilter.java b/src/main/java/com/bonus/aqgqj/filter/TokenFilter.java index 827b115..040b8b0 100644 --- a/src/main/java/com/bonus/aqgqj/filter/TokenFilter.java +++ b/src/main/java/com/bonus/aqgqj/filter/TokenFilter.java @@ -155,7 +155,11 @@ public class TokenFilter extends OncePerRequestFilter { Boolean isYq=true; String url=uri.replace(filePath+"/","").trim(); String[] htmls=html.split(","); + for (int i = 0; i