增加验证规则的枚举值 #2

Merged
zhangdeman merged 7 commits from feature/validator into master 2025-02-07 20:52:04 +08:00
Showing only changes of commit d0dbba0156 - Show all commits

View File

@ -12,6 +12,9 @@ package consts
type ValidatorRule string // 验证规则
func (vr *ValidatorRule) String() string {
if nil == vr {
return ""
}
return string(*vr)
}