Browse Source

feat: "添加oss和onlyoffice的逻辑"

Leonezhurui 2 years ago
parent
commit
a8c7a001f3

+ 0 - 4
src/main/resources/application-dev.yaml

@@ -38,9 +38,5 @@ aliyun:
     accessKeySecret: fckFhhxhG234aOZfjIAxZZuFA3RCkH
     bucketName: eai-files
 
-files:
-
-
-
 logging:
   config: classpath:log4j2-dev.xml

+ 8 - 0
src/main/resources/application-prod.yaml

@@ -32,5 +32,13 @@ jwt:
   expiration: 86400
 
 
+aliyun:
+  oss:
+    endpoint: oss-cn-shanghai.aliyuncs.com
+    accessKeyId: LTAI5tKsfJJKByjVqNKCvRR3
+    accessKeySecret: fckFhhxhG234aOZfjIAxZZuFA3RCkH
+    bucketName: eai-files
+
+
 logging:
   config: classpath:log4j2-prod.xml