This commit is contained in:
白茶清欢 2024-05-13 18:36:09 +08:00
parent 4e652c64b7
commit 5396616b24

View File

@ -29,7 +29,6 @@ func NewDefaultFieldRule(path string, dataType string, isRequired bool, defaultV
Min: nil, Min: nil,
Max: nil, Max: nil,
String: &define.StringValueLimit{ String: &define.StringValueLimit{
AutoTrimSpace: true,
IncludeSubStrList: make([]string, 0), IncludeSubStrList: make([]string, 0),
}, },
Map: &define.MapValueLimit{IncludeFieldList: make([]string, 0)}, Map: &define.MapValueLimit{IncludeFieldList: make([]string, 0)},