spring 统一处理对外接口的时间显示样式

统一处理时间:
通过配置统一处理时间展示样式:
在配置文件里添加:
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8

猜你喜欢

转载自blog.csdn.net/m0_37948170/article/details/80943142