解决JSON parse error: Unrecognized field xxx

出现原因:前后端参数不一致,通常前端多传了参数。

可以在接收对象上设置

@JsonIgnoreProperties(ignoreUnknown = true)

Guess you like

Origin blog.csdn.net/sunyufeng22/article/details/121789892