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

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