添加ORM的依赖注入,添加appsettings的gitignore

This commit is contained in:
2026-08-28 11:03:01 +08:00
parent d77feb67f7
commit 6bd8ef4a7c
2 changed files with 2 additions and 19 deletions
+2 -1
View File
@@ -364,4 +364,5 @@ MigrationBackup/
.ionide/ .ionide/
# Fody - auto-generated XML schema # Fody - auto-generated XML schema
FodyWeavers.xsd FodyWeavers.xsd
/IOT_API/appsettings.json
-18
View File
@@ -1,18 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"Database": {
"Type": "PostgreSQL",
"Server": "127.0.0.1",
"Port": 5432,
"Database": "IOT_WEB",
"User": "postgres",
"Password": "kylt123",
"TenantId": 10001
}
}