摘要: https://blog.csdn.net/MR_L_0927/article/details/84784482 简单的方法是 直接在Controller内的接口参数前加上校验注解(@NotBlank...等),此时需在类上加注解 @Validated即可.当校验参数过多,这种方法使接口参数看起来过 阅读全文
posted @ 2020-03-31 10:17 kelelipeng 阅读(5174) 评论(0) 推荐(0) 编辑