在工作中遇到错误org.springframework.web.bind.MissingServletRequestParameterException
此时为POST方法,添加了@RequestParam注解,如图
postman中请求如下
解决办法:选择form-data进行传参即可
在工作中遇到错误org.springframework.web.bind.MissingServletRequestParameterException
此时为POST方法,添加了@RequestParam注解,如图
postman中请求如下
解决办法:选择form-data进行传参即可