mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
还原方法模式的脱敏注解
This commit is contained in:
@ -6,12 +6,10 @@ import java.lang.annotation.*;
|
|||||||
* 加密注解
|
* 加密注解
|
||||||
*
|
*
|
||||||
* 在方法上声明 将方法返回对象中的敏感字段 加密/格式化
|
* 在方法上声明 将方法返回对象中的敏感字段 加密/格式化
|
||||||
* @deprecated 直接在实体的字段中使用@{@link Sensitive}即可
|
|
||||||
*/
|
*/
|
||||||
@Documented
|
@Documented
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.METHOD})
|
@Target({ElementType.METHOD})
|
||||||
@Deprecated
|
|
||||||
public @interface SensitiveEncode {
|
public @interface SensitiveEncode {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,9 +1,6 @@
|
|||||||
package org.jeecg.common.desensitization.annotation;
|
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 org.jeecg.common.desensitization.enums.SensitiveEnum;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|||||||
Reference in New Issue
Block a user