huanghongfa
2021-05-19 14590de8e4fb23909f1767a53d1f92007f9bbcc4
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/helper/encrypt/ResultInterceptor.java
@@ -57,11 +57,13 @@
    }
    public boolean needToDecrypt(Object object){
        if(object!=null) {
        Class<?> objectClass = object.getClass();
        EncryptDecryptClass encryptDecryptClass = AnnotationUtils.findAnnotation(objectClass, EncryptDecryptClass.class);
        if (Objects.nonNull(encryptDecryptClass)){
            return true;
        }
        }
        return false;
    }