增加字符串子串的验证
This commit is contained in:
@ -58,7 +58,8 @@ type ValueLimit struct {
|
||||
//
|
||||
// Date : 11:16 2024/4/29
|
||||
type StringValueLimit struct {
|
||||
IncludeSubStrList []string `json:"include_sub_str_list"` // 必须包含指定的子串
|
||||
IncludeSubStrList []string `json:"include_sub_str_list"` // 必须包含指定的子串, 必须全部包含
|
||||
NotIncludeSubStrList []string `json:"not_include_sub_str_list"` // 必须不能包含的子串, 包含任意一个都不行
|
||||
}
|
||||
|
||||
// MapValueLimit map数据的限制
|
||||
|
Reference in New Issue
Block a user