feat: 添加 Nacos shared 配置导入

This commit is contained in:
k kfluous
2026-03-11 19:07:51 +08:00
parent fb821d45b5
commit d6b3022a34
3 changed files with 3 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ spring:
import:
- optional:classpath:application-${spring.profiles.active}.yaml # 加载【本地】配置
- optional:nacos:${spring.application.name}-${spring.profiles.active}.yaml # 加载【Nacos】的配置
- optional:nacos:shared-${spring.profiles.active}.yaml # 加载【Nacos】的共享配置
# Servlet 配置
servlet: