fix(config): 统一配置键名并修复 EnvironmentInitializer 属性读取

- 统一使用 kenaito.config.baseUrl 替代 kenaito.config.base.url
- 更新示例配置参数(appName、profile、数据库配置键名)
- EnvironmentInitializer 添加从 Spring Environment 提取 kenaito.config.* 属性的逻辑
- .gitignore 添加 target 目录忽略规则
This commit is contained in:
2026-02-03 21:10:48 +08:00
parent 2549c76366
commit 6653c752e7
8 changed files with 62 additions and 30 deletions
+2
View File
@@ -37,3 +37,5 @@ bin/
# Environment
.env
.env.local
/kenaito-conf-springboot2-client-demo/target/classes/META-INF/spring.factories
/kenaito-conf-springboot2-client-demo/target/classes/application.properties