diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 2848e6a..1d34574 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -23,8 +23,8 @@ spring: jackson: default-property-inclusion: non_null # 序列化时忽略 null 字段 property-naming-strategy: SNAKE_CASE # 实体驼峰 → JSON snake_case - date-format: ${JSON_DATE_FORMAT:} # 日期格式,dev 配置中覆盖为 yyyy-MM-dd HH:mm:ss - time-zone: ${JSON_TIME_ZONE:GMT} # 时区,dev 配置中覆盖为 GMT+8 + date-format: ${JSON_DATE_FORMAT:yyyy-MM-dd HH:mm:ss} + time-zone: ${JSON_TIME_ZONE:GMT+8} # ---- MyBatis-Plus ---- mybatis-plus: