表达式生成验证规则, 支持参数数量验证
This commit is contained in:
@ -26,6 +26,6 @@ type FieldValidateGenerateConfig struct {
|
||||
//
|
||||
// Date : 11:27 2025/1/24
|
||||
type GenerateRuleExpressConfig struct {
|
||||
Rule consts.ValidatorRule `json:"rule,omitempty"` // 条件配置
|
||||
ParamList []any `json:"param_list,omitempty"` // 规则验证的参数列表
|
||||
Rule *consts.ValidatorRule `json:"rule,omitempty"` // 条件配置
|
||||
ParamList []any `json:"param_list,omitempty"` // 规则验证的参数列表
|
||||
}
|
||||
|
Reference in New Issue
Block a user