@RequestBody,忽略不认识的属性:
@JsonIgnoreProperties(ignoreUnknown = true)
@RequestBody,属性名和json中不一致:
@JsonProperty(value = "Name")
@RequestBody(属性入参不一致,忽略不认识属性)
猜你喜欢
转载自blog.csdn.net/xx897115293/article/details/108280802
今日推荐
周排行