@RequestBody 无法接收单个Integer类型的参数
前台报的后台错误信息Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize instance of `java.lang.Integer` out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInpu
原创
2021-06-17 09:39:53 ·
3332 阅读 ·
6 评论