update ruoyi-auth/src/main/resources/bootstrap.yml.
之前的配置shared-dataids已经被废弃了 应该调整成这样的配置
This commit is contained in:
parent
7bd762267b
commit
97620cbfc6
|
|
@ -18,7 +18,11 @@ spring:
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 127.0.0.1:8848
|
||||||
|
prefix: ruoyi-auth-${spring.profiles.active}
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
shared-configs[0]:
|
||||||
|
data-id: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
group: DEFAULT_GROUP
|
||||||
|
refresh: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue