springboot @RequestBody 参数校验
在使用注入参数 是bean
- 使用包装类的 如果显示赋值 null
- 如果前端不传入参数一定要赋予bean 默认值
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/17116957.html
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/17116957.html