yml文件中这样进行配置

spring:
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss

spring.jackson.date-format
指定日期格式,比如yyyy-MM-dd HH:mm:ss

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
猜你喜欢
  • 2021-10-09
  • 2021-12-22
  • 2021-10-07
  • 2021-08-06
  • 2022-12-23
  • 2022-02-11
相关资源
相似解决方案