chore(core): 降级项目目标框架及相关依赖至 net9.0

- 统一将 COMCMS.API、COMCMS.Common、COMCMS.Core、COMCMS.Web 和 Lib.Core 项目的目标框架从 net10.0 降级至 net9.0
- 调整 COMCMS.Web 项目中部分 NuGet 包版本号以匹配 net9.0 版本要求
- 更新 Dockerfile 中的基础镜像版本为 .NET 9.0,保持构建和运行环境一致
- 修改 appsettings.json 中数据库服务器地址为 localhost,优化本地连接配置
- 删除敏感信息的 .env 文件,新增示例环境变量文件 .env.example,便于开发者配置环境变量
- 在 .gitignore 中添加 .env 文件,防止敏感信息被提交到代码仓库
This commit is contained in:
jonah.fu
2025-12-06 20:27:11 +08:00
parent 1cdabd1ee7
commit 3be384a668
10 changed files with 38 additions and 26 deletions
+6
View File
@@ -313,3 +313,9 @@ COMCMS.Web/wwwroot/install.lock
# others
.cursorrules
# 环境变量文件(包含敏感信息)
.env
# 环境变量文件(包含敏感信息)
.env