优化数据脱敏功能

pull/6332/head
EightMonth 2024-06-19 12:25:34 +08:00
parent ae1b8d4654
commit 7dccaf2ec8
2 changed files with 1 additions and 3 deletions

View File

@ -6,12 +6,10 @@ import java.lang.annotation.*;
* *
* *
* *
* @deprecated 使@{@link SensitiveField}
*/ */
@Documented @Documented
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD}) @Target({ElementType.METHOD})
@Deprecated
public @interface SensitiveDecode { public @interface SensitiveDecode {
/** /**

View File

@ -27,7 +27,7 @@ public class SensitiveDataAspect {
/** /**
* Pointcut * Pointcut
*/ */
@Pointcut("@annotation(org.jeecg.common.desensitization.annotation.SensitiveEncode) || @annotation(org.jeecg.common.desensitization.annotation.SensitiveDecode)") @Pointcut("@annotation(org.jeecg.common.desensitization.annotation.SensitiveDecode)")
public void sensitivePointCut() { public void sensitivePointCut() {
} }