mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
feat: 增加注释
This commit is contained in:
parent
cd9bcda935
commit
70f15ab60d
@ -1,5 +1,8 @@
|
|||||||
package cn.iocoder.yudao.framework.desensitize.handler;
|
package cn.iocoder.yudao.framework.desensitize.handler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 脱敏处理器接口
|
||||||
|
*/
|
||||||
public interface DesensitizationHandler {
|
public interface DesensitizationHandler {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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 缓存,默认初始化内置的处理器
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user