@JsonIgnore注解接收不到前端传的值

@JsonIgnore 加上这个之后为了不返回某个字段,但是也不能接收从前端传入的值
改为:    
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
posted @ 2023-04-06 15:44  peanut。  阅读(216)  评论(0)    收藏  举报