feat: 增加注释

This commit is contained in:
gaibu 2023-01-12 15:43:31 +08:00
parent cd9bcda935
commit 70f15ab60d
4 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,8 @@
package cn.iocoder.yudao.framework.desensitize.handler; package cn.iocoder.yudao.framework.desensitize.handler;
/**
* 脱敏处理器接口
*/
public interface DesensitizationHandler { public interface DesensitizationHandler {
/** /**

View File

@ -5,6 +5,9 @@ import cn.hutool.core.util.ReflectUtil;
import java.util.Map; import java.util.Map;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
/**
* 脱敏处理器 Holder
*/
public class DesensitizationHandlerHolder { public class DesensitizationHandlerHolder {
/** /**
* handler 缓存默认初始化内置的处理器 * handler 缓存默认初始化内置的处理器

View File

@ -1,5 +1,8 @@
package cn.iocoder.yudao.framework.desensitize.handler; package cn.iocoder.yudao.framework.desensitize.handler;
/**
* 正则脱敏处理器
*/
public class RegexDesensitizationHandler implements DesensitizationHandler { public class RegexDesensitizationHandler implements DesensitizationHandler {
@Override @Override

View File

@ -1,5 +1,8 @@
package cn.iocoder.yudao.framework.desensitize.handler; package cn.iocoder.yudao.framework.desensitize.handler;
/**
* 滑动脱敏处理器
*/
public class SliderDesensitizationHandler implements DesensitizationHandler { public class SliderDesensitizationHandler implements DesensitizationHandler {
@Override @Override