在application配置文件中加如下: spring.jackson.time-zone=GMT+8 转载于:https://www.cnblogs.com/czlovezmt/p/9116754.html