ソースを参照

chore: 采用单一配置文件,则需要设置profiles.active为none,否则会被all模块的内置application文件的profiles.active所补充进而导致一些不必要的加载。

Junling Bu 6 年 前
コミット
bd6aae97c7
1 ファイル変更9 行追加1 行削除
  1. 9 1
      deploy/litemall/application.yml

+ 9 - 1
deploy/litemall/application.yml

@@ -1,4 +1,6 @@
 spring:
+  profiles:
+    active: none
   message:
     encoding: UTF-8
   datasource:
@@ -138,4 +140,10 @@ litemall:
       secretId: 111111
       secretKey: xxxxxx
       region: xxxxxx
-      bucketName: xxxxxx
+      bucketName: xxxxxx
+    # 七牛云对象存储配置信息
+    qiniu:
+      endpoint: http://pd5cb6ulu.bkt.clouddn.com
+      accessKey: 111111
+      secretKey: xxxxxx
+      bucketName: litemall