添加ORM的依赖注入,添加appsettings的gitignore
This commit is contained in:
@@ -365,3 +365,4 @@ MigrationBackup/
|
|||||||
|
|
||||||
# Fody - auto-generated XML schema
|
# Fody - auto-generated XML schema
|
||||||
FodyWeavers.xsd
|
FodyWeavers.xsd
|
||||||
|
/IOT_API/appsettings.json
|
||||||
|
|||||||
@@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user