Commit 33d110fcd7b64a1fa8b9869007787b47b26ed1fb
1 parent
efe0ad56
fix: 修改返回日期格式
Showing
1 changed file
with
2 additions
and
2 deletions
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java
| ... | ... | @@ -25,14 +25,14 @@ public class BaseEntity implements Serializable |
| 25 | 25 | private String createBy; |
| 26 | 26 | |
| 27 | 27 | /** 创建时间 */ |
| 28 | - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | |
| 28 | + @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss") | |
| 29 | 29 | private Date createTime; |
| 30 | 30 | |
| 31 | 31 | /** 更新者 */ |
| 32 | 32 | private String updateBy; |
| 33 | 33 | |
| 34 | 34 | /** 更新时间 */ |
| 35 | - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | |
| 35 | + @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss") | |
| 36 | 36 | private Date updateTime; |
| 37 | 37 | |
| 38 | 38 | /** 备注 */ | ... | ... |