mirror of https://github.com/jeecgboot/jeecg-boot
还原方法模式的脱敏注解
parent
c582efd115
commit
f370855683
|
@ -6,12 +6,10 @@ import java.lang.annotation.*;
|
|||
* 加密注解
|
||||
*
|
||||
* 在方法上声明 将方法返回对象中的敏感字段 加密/格式化
|
||||
* @deprecated 直接在实体的字段中使用@{@link Sensitive}即可
|
||||
*/
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD})
|
||||
@Deprecated
|
||||
public @interface SensitiveEncode {
|
||||
|
||||
/**
|
||||
|
|
|
@ -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.*;
|
||||
|
|
Loading…
Reference in New Issue