Explorar el Código

时间格式处理

chenw hace 7 años
padre
commit
0ba2682721
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      bi-server/src/main/resources/application.properties

+ 3 - 0
bi-server/src/main/resources/application.properties

@@ -9,6 +9,9 @@ spring.datasource.url=jdbc:oracle:thin:@10.1.81.2:1521:orcl
 spring.datasource.username=UAS_DEV
 spring.datasource.password=select!#%*(
 
+spring.jackson.date-format=yyyy-MM-dd
+spring.jackson.time-zone=GMT+8
+
 #线上环境
 #spring.datasource.url=jdbc:oracle:thin:@218.18.115.198:1523:orcl
 #spring.datasource.username=BI_ADMIN