fix
This commit is contained in:
parent
ed1bbd277d
commit
a20f8dc7fa
19
define.go
19
define.go
@ -17,3 +17,22 @@ const (
|
||||
// TypePassword 密码数据脱敏
|
||||
TypePassword = "PASSWORD_DATA_MASK"
|
||||
)
|
||||
|
||||
// TypeDesc 脱敏类型描述
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 11:34 2023/5/25
|
||||
type TypeDesc struct {
|
||||
Type string `json:"type"` // 数据脱敏类型
|
||||
Desc string `json:"desc"` // 脱敏类型描述
|
||||
}
|
||||
|
||||
var (
|
||||
TypeList = []TypeDesc{
|
||||
{TypeDefault, "默认策略"},
|
||||
{TypeMail, "邮箱数据脱敏"},
|
||||
{TypePhone, "手机号数据脱敏"},
|
||||
{TypePassword, "密码数据脱敏"},
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user