Explorar o código

添加file.save.path

郭超 %!s(int64=4) %!d(string=hai) anos
pai
achega
ccf758aad7
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      site/src/main/resources/application.yml

+ 7 - 0
site/src/main/resources/application.yml

@@ -19,6 +19,9 @@ spring:
       enabled: true
       max-file-size: 100MB
       max-request-size: 100MB
+file:
+  save:
+    path: /var/www/
 
 oss:
   accessKeyId: LTAI4FdrT3HsfdR5edBVN7ws
@@ -214,6 +217,10 @@ user:
   service:
     baseUrl: http://59.42.10.53:8081
 
+file:
+  save:
+    path: /var/www/
+
 feature:
   client:
     oss: true