修复自定义校验异常
parent
aac2611edb
commit
932ef20749
|
@ -21,5 +21,6 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||||
@Constraint(validatedBy = IsSystemYesNoValidator.class)
|
@Constraint(validatedBy = IsSystemYesNoValidator.class)
|
||||||
public @interface IsSystemYesNo {
|
public @interface IsSystemYesNo {
|
||||||
String message() default "数据字典:[支付服务/客户启用状态] - 参数不合法";
|
String message() default "数据字典:[支付服务/客户启用状态] - 参数不合法";
|
||||||
|
Class<?>[] groups() default {};
|
||||||
|
Class<? extends Payload>[] payload() default {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue