标签:create api col json star orm format for pat
1 /** 2 * 开始create_time 3 */ 4 @ApiModelProperty(value = "开始create_time", name = "startCreateTime") 5 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") 6 private Date startCreateTime; 7 8 /** 9 * 结束create_time 10 */ 11 @ApiModelProperty(value = "结束create_time", name = "endCreateTime") 12 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") 13 private Date endCreateTime;
使用@JsonFormat 进行时间类型参数传值
标签:create api col json star orm format for pat
原文地址:https://www.cnblogs.com/hmy-1365/p/14357284.html