spring -boot 项目中全局配置Date类型返回指定时间格式如下: # jackson时间格式化spring.jackson.time-zone=GMT+8 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss.
確定! 回上一頁