fanxw hace 6 años
padre
commit
064a06cfec
Se han modificado 1 ficheros con 8 adiciones y 5 borrados
  1. 8 5
      src/main/resources/bootstrap.yml

+ 8 - 5
src/main/resources/bootstrap.yml

@@ -42,10 +42,13 @@ spring:
42 42
   # 静态资源配置
43 43
   resources:
44 44
     static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
45
- 
46
-web:
47
-  upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
48
-
49 45
   jackson:
50 46
     date-format: yyyy-MM-dd
51
-    time-zone: GMT+8
47
+    time-zone: GMT+8
48
+  servlet:
49
+    multipart:
50
+      max-file-size: 10Mb
51
+      max-request-size: 10Mb
52
+
53
+web:
54
+  upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static