post: 

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

GET:

@DateTimeFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value = "查询时间范围的结束时间(yyyy-MM-dd)")
private Date lastTime;

 

相关文章:

  • 2022-01-07
  • 2021-11-09
  • 2021-11-27
  • 2021-11-27
  • 2021-11-27
  • 2022-01-07
  • 2022-01-07
猜你喜欢
  • 2021-08-16
  • 2021-11-18
  • 2021-11-18
相关资源
相似解决方案