在domain层的时间属性上面加@JsonFormat和@DateTimeFormat注解
后端传前端: GMT+8:表示东八区
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
前端传后端:
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
在domain层的时间属性上面加@JsonFormat和@DateTimeFormat注解
后端传前端: GMT+8:表示东八区
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
前端传后端:
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
暂无评论
2023-11-27
2023-11-26
2023-11-25
2023-11-24
2023-11-24
2023-11-22
2023-11-20
2023-11-14
2023-11-14
2023-11-14
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31