Browse Source

更新文件上传配置

Woody 1 month ago
parent
commit
ff8d96dc6d

+ 2 - 2
src/main/resources/application-dev.yml

@@ -24,9 +24,9 @@ security:
     - /maintain/order/refund/notify   #退款回调
     - /maintain/order/refund/notify   #退款回调
 
 
 upload:
 upload:
-  directory: /home/chelvc/static
+  bucket: /home/chelvc/static
   domain: https://test.chelvc.com/file
   domain: https://test.chelvc.com/file
-  channel: DEFAULT
+  channel: LOCAL
 
 
 location:
 location:
   clients:
   clients:

+ 2 - 2
src/main/resources/application-pre.yml

@@ -24,9 +24,9 @@ security:
     - /maintain/order/refund/notify   #退款回调
     - /maintain/order/refund/notify   #退款回调
 
 
 upload:
 upload:
-  directory: /home/chelvc/static
+  bucket: /home/chelvc/static
   domain: https://test.chelvc.com/file
   domain: https://test.chelvc.com/file
-  channel: DEFAULT
+  channel: LOCAL
 
 
 location:
 location:
   clients:
   clients:

+ 2 - 2
src/main/resources/application-prod.yml

@@ -24,9 +24,9 @@ security:
     - /maintain/order/refund/notify   #退款回调
     - /maintain/order/refund/notify   #退款回调
 
 
 upload:
 upload:
-  directory: /home/chelvc/static
+  bucket: /home/chelvc/static
   domain: https://test.chelvc.com/file
   domain: https://test.chelvc.com/file
-  channel: DEFAULT
+  channel: LOCAL
 
 
 location:
 location:
   clients:
   clients:

+ 2 - 2
src/main/resources/application-test.yml

@@ -24,9 +24,9 @@ security:
     - /maintain/order/refund/notify   #退款回调
     - /maintain/order/refund/notify   #退款回调
 
 
 upload:
 upload:
-  directory: /home/chelvc/static
+  bucket: /home/chelvc/static
   domain: https://test.chelvc.com/file
   domain: https://test.chelvc.com/file
-  channel: DEFAULT
+  channel: LOCAL
 
 
 location:
 location:
   clients:
   clients: