参数校验框架validation使用技巧 · 2023-07-21 · message中可以使用{变量名}来获取注解中的属性值 @Size(max = 1000, message = "配置信息最多{max}字")