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

This commit is contained in:
Junling Bu
2019-08-12 11:03:37 +08:00
parent c04bf48664
commit bd6aae97c7

View File

@@ -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