Files
Yi.Admin/Yi.Framework.Net6/test/Yi.Framework.Web/appsettings.json

30 lines
758 B
JSON
Raw Normal View History

2022-04-07 22:48:10 +08:00
{
"Logging": {
"LogLevel": {
"Default": "Information",
2023-01-11 11:10:59 +08:00
"Microsoft.AspNetCore": "Warning"
2022-04-07 22:48:10 +08:00
}
},
2023-01-11 15:05:31 +08:00
"AllowedHosts": "*",
2023-01-11 18:16:58 +08:00
//程序启动地址,*代表全部网口
"StartUrl": "http://*:19002",
2023-01-11 15:05:31 +08:00
//数据库类型列表
2023-01-11 15:05:31 +08:00
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
"DbConnOptions": {
"Url": "DataSource=yi-sqlsugar-dev.db",
"DbType": "Sqlite",
"EnabledDbSeed": false,
"EnabledReadWrite": false,
"EnabledCodeFirst": false,
"EntityAssembly": null,
2023-01-11 15:05:31 +08:00
"ReadUrl": [
"DataSource=[xxxx]", //sqlite
"server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]", //mysql
"Data Source=[xxxx];Initial Catalog=[xxxx];User ID=[xxxx];password=[xxxx]" //sqlserver
]
}
2022-04-07 22:48:10 +08:00
}