Spring Boot 整合JSR-303只需要添加一个 starter 即可,如下: ... @NotBlank(message = "作者Id不能为空",groups = AddArticleDTO.class).
確定! 回上一頁