Files
Yi.Admin/Yi.Framework.Net6/src/project/BBS/Yi.BBS.Web/appsettings.json

42 lines
1.0 KiB
JSON
Raw Normal View History

2023-01-24 20:28:33 +08:00
{
"Logging": {
"LogLevel": {
2023-03-19 23:18:17 +08:00
"Default": "Debug",
2023-03-11 15:02:50 +08:00
"Microsoft.AspNetCore": "Information"
2023-01-24 20:28:33 +08:00
}
},
"AllowedHosts": "*",
//程序启动地址,*代表全部网口
2023-03-27 23:15:04 +08:00
"StartUrl": "http://*:19001",
2023-01-24 20:28:33 +08:00
//数据库类型列表
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
"DbConnOptions": {
2023-03-28 14:09:41 +08:00
//"Url": "DataSource=yi-sqlsugar-dev.db",
"Url": "server=106.52.94.217;port=3306;database=yi-bbs-dev;user id=root;password=Qz52013142020.",
"DbType": "Mysql",
2023-02-22 16:49:24 +08:00
"EnabledDbSeed": true,
2023-01-24 20:28:33 +08:00
"EnabledReadWrite": false,
"EnabledCodeFirst": true,
"EntityAssembly": null,
"ReadUrl": [
2023-03-27 19:36:21 +08:00
"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
2023-01-24 20:28:33 +08:00
]
},
//授权
"JwtTokenOptions": {
"Audience": "yi",
"Issuer": "localhost:19002",
"Subject": "yiframwork",
2023-03-26 01:28:48 +08:00
"ExpSecond": 259200
2023-01-24 20:28:33 +08:00
},
//开启种子数据
"EnabledDataSeed": true
}