有时候,可能有好几个注解需要一起使用,此时就可以使用组合验证注解 @Target({ FIELD}) @Retention(RUNTIME) @Documented @NotNull(message = @Target 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交