解决未使用groups报错
parent
2b4c187dc3
commit
85d62e2f13
11
pom.xml
11
pom.xml
|
@ -172,6 +172,17 @@
|
|||
<artifactId>swagger-annotations-jakarta</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dtflys.forest</groupId>
|
||||
<artifactId>forest-spring-boot3-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.muyu</groupId>
|
||||
<artifactId>cloud-common-nacos-remote</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -2,6 +2,7 @@ package com.muyu.common.core.text;
|
|||
|
||||
import com.muyu.common.core.utils.StringUtils;
|
||||
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
|
@ -11,10 +12,10 @@ import java.nio.charset.StandardCharsets;
|
|||
* @author muyu
|
||||
*/
|
||||
public class CharsetKit {
|
||||
|
||||
/**
|
||||
* ISO-8859-1
|
||||
*/
|
||||
public static final String ISO_8859_1 = "ISO-8859-1";
|
||||
*/ public static final String ISO_8859_1 = "ISO-8859-1";
|
||||
/**
|
||||
* UTF-8
|
||||
*/
|
||||
|
|
|
@ -3,6 +3,7 @@ package com.muyu.common.core.validation.custom;
|
|||
import jakarta.validation.Constraint;
|
||||
import jakarta.validation.Payload;
|
||||
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
|
@ -12,6 +13,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||
@Documented
|
||||
@Constraint(validatedBy = {SystemYesNoValidator.class})
|
||||
public @interface IsSystemYesNo {
|
||||
|
||||
String message() default "数据字典:[系统是否] - 参数不合法";
|
||||
Class<?>[] groups() default { };
|
||||
Class<? extends Payload>[] payload() default { };
|
||||
|
|
Loading…
Reference in New Issue