1. 修改actived可以通过指定profile动态切换

This commit is contained in:
Hccake committed 2019-08-15 10:42:11 +08:00
1 parent 4ee400466c
commit 0a1ce03a51
12 files changed
+39 -11

No files matched your search

@@ -13,4 +13,4 @@ spring:
file-extension: yml
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
profiles:
active: dev
active: @profiles.active@