修复异常自定义信息
parent
4f4d49811f
commit
97a05af72e
|
@ -2,6 +2,7 @@ package com.muyu.common.core.validation.custom;
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import jakarta.validation.Constraint;
|
import jakarta.validation.Constraint;
|
||||||
|
import jakarta.validation.Payload;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
||||||
|
@ -19,6 +20,8 @@ import java.lang.annotation.*;
|
||||||
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