org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: Unrecognized field “inputType”
原因后端用@RequestBody注解接收Json实体类,但前端传来的Json中有实体类没有的字段“inputType”
解决后端在实体类上添加注解@JsonIgnoreProperties(ignoreUnknown = true)忽略前端所传来的无效字段



