LocalDateTime.now()在SpringBoot项目中获取时间比服务器系统时间早8h

解决方法:启动类代码中添加如下

 

posted @ 2021-11-10 16:52  雪山上的蒲公英  阅读(661)  评论(0编辑  收藏  举报
/* 返回顶部代码 */