@NotNull
@NotBlank(message="")
不生效的时候,在controller 类上面添加 @Validated 注解
@Validated @RestController
@NotNull
@NotBlank(message="")
不生效的时候,在controller 类上面添加 @Validated 注解
@Validated @RestController
8027
2371
8145

被折叠的 条评论
为什么被折叠?