在SpringMvc中使用hibernate的hibernate-validator来进行校验入参,如@NotNull , @Length https://blog.csdn.net/zzzgd_666/article/details/81671753