postMan调用正常,前端调用后接收数据丢失到时拿到数据不对
需要在返回的实体类上加@JsonSerialize(using= ToStringSerializer.class)
@JsonSerialize(using= ToStringSerializer.class)
private Long id;
postMan调用正常,前端调用后接收数据丢失到时拿到数据不对
需要在返回的实体类上加@JsonSerialize(using= ToStringSerializer.class)
@JsonSerialize(using= ToStringSerializer.class)
private Long id;