mybatis-plus中整合时间问题

    科技2022-08-24  108

    mybatis-plus整合springboot中返回的数据时间格式不正确 mysql配置: spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/test?serverTimezone=GMT+8 spring.datasource.username= spring.datasource.password=## 标题 在application.properties文件中配置 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.time-zone=GMT+8

    Processed: 0.018, SQL: 9