diff --git a/README.md b/README.md
index 18cc8709638bb2a5635667c2b45a65ed4273d913..1773ce99bf95ec91b56f7923e882cfa85c1d8ea5 100644
--- a/README.md
+++ b/README.md
@@ -97,3 +97,13 @@ public Obj test(){

## 8、关注我

+
+## 9、更新日志
+* V1.0.0
+> 基础版
+
+* V1.0.1
+> 支持复杂对象,多层嵌套属性自动脱敏
+
+* V1.0.2
+> 优化包引用
diff --git a/pom.xml b/pom.xml
index 05d3c8a5d6fffd594d81c86e224d8187d6fc3ad3..9cf947232ae0dfbcf7fba7503d7034384b0f4939 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
io.gitee.chemors
secure-ext-spring-boot-starter
- 1.0.0-RELEASE
+ 1.0.2-RELEASE
secure-ext-spring-boot-starter
secure-ext-spring-boot-starter
https://gitee.com/chemors/secure-ext-spring-boot-starter
@@ -27,7 +27,7 @@
org.springframework.boot
spring-boot-configuration-processor
${springboot.version}
- true
+ compile
diff --git a/src/main/java/com/mos/secure/ext/aspect/SensitiveAspect.java b/src/main/java/com/mos/secure/ext/aspect/SensitiveAspect.java
index 6ab82013cc06b124a5cba966e3dfbaec87f93d7d..301fe82720bb665c1d75e8c4c66d3017f656f578 100644
--- a/src/main/java/com/mos/secure/ext/aspect/SensitiveAspect.java
+++ b/src/main/java/com/mos/secure/ext/aspect/SensitiveAspect.java
@@ -1,5 +1,6 @@
package com.mos.secure.ext.aspect;
+import cn.hutool.core.util.StrUtil;
import com.mos.secure.ext.annotations.Desensitization;
import com.mos.secure.ext.annotations.DesensitizationProp;
import com.mos.secure.ext.config.SensitiveProp;
@@ -13,8 +14,10 @@ import org.aspectj.lang.reflect.MethodSignature;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
+import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
+import java.util.Arrays;
import java.util.List;
/**
@@ -59,6 +62,8 @@ public class SensitiveAspect {
return sensitiveFormat(joinPoint);
}
+
+
/**
* 注解统一拦截器
*
@@ -68,26 +73,26 @@ public class SensitiveAspect {
*/
public Object sensitiveFormat(ProceedingJoinPoint joinPoint) throws Throwable {
Object obj = joinPoint.proceed();
- if (obj instanceof List) {
+ dealNode(obj);
+ /* if (obj instanceof List) {
dealList(obj);
} else {
dealSimpleData(obj);
- }
+ }*/
return obj;
}
private void dealList(Object o) throws IllegalAccessException {
List