所以使用到 spring-boot-starter-validation 来实现校验。然后发现有 @Valid 和 @Validated 两个annotation。 以下介绍它们之间的区别和用法。
確定! 回上一頁