From f3708556839a61abfbd6be9c16f873782e423dd0 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Thu, 20 Jun 2024 18:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9F=E6=96=B9=E6=B3=95=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E7=9A=84=E8=84=B1=E6=95=8F=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/desensitization/annotation/SensitiveEncode.java | 2 -- .../common/desensitization/annotation/SensitiveField.java | 3 --- 2 files changed, 5 deletions(-) diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/common/desensitization/annotation/SensitiveEncode.java b/jeecg-boot-base-core/src/main/java/org/jeecg/common/desensitization/annotation/SensitiveEncode.java index 1ebd473dde..eb89d75ef6 100644 --- a/jeecg-boot-base-core/src/main/java/org/jeecg/common/desensitization/annotation/SensitiveEncode.java +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/common/desensitization/annotation/SensitiveEncode.java @@ -6,12 +6,10 @@ * 加密注解 * * 在方法上声明 将方法返回对象中的敏感字段 加密/格式化 - * @deprecated 直接在实体的字段中使用@{@link Sensitive}即可 */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) -@Deprecated public @interface SensitiveEncode { /** diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/common/desensitization/annotation/SensitiveField.java b/jeecg-boot-base-core/src/main/java/org/jeecg/common/desensitization/annotation/SensitiveField.java index c0ca46cdf0..a887e5a594 100644 --- a/jeecg-boot-base-core/src/main/java/org/jeecg/common/desensitization/annotation/SensitiveField.java +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/common/desensitization/annotation/SensitiveField.java @@ -1,9 +1,6 @@ package org.jeecg.common.desensitization.annotation; -import com.fasterxml.jackson.annotation.JacksonAnnotationsInside; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import org.jeecg.common.desensitization.SensitiveFieldSerialize; import org.jeecg.common.desensitization.enums.SensitiveEnum; import java.lang.annotation.*;