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;
原文地址:https://www.cnblogs.com/james-roger/p/11832787.html
时间: 2024-10-07 09:27:14