fanxw пре 6 година
родитељ
комит
6e1c16caa1
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/main/resources/bootstrap.yml

+ 3 - 3
src/main/resources/bootstrap.yml

@@ -45,6 +45,9 @@ spring:
45 45
   # 静态资源配置
46 46
   resources:
47 47
     static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
48
+  jackson:
49
+    date-format: yyyy-MM-dd
50
+    time-zone: GMT+8
48 51
   servlet:
49 52
     multipart:
50 53
       enabled: true
@@ -54,7 +57,4 @@ spring:
54 57
 
55 58
 web:
56 59
   upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
57
-  jackson:
58
-    date-format: yyyy-MM-dd
59
-    time-zone: GMT+8
60 60