mysql时间差8小时 zagwk 2021-09-29 190 阅读1分钟 在实体类中的Date接收数据库中的时间的 字段 上添加注解 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")