2018-09-17 00:47:36 +08:00
|
|
|
|
{
|
2018-09-15 23:55:54 +08:00
|
|
|
|
"Logging": {
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"IncludeScopes": false,
|
2018-09-15 23:55:54 +08:00
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Warning"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
"LgbFile": {
|
|
|
|
|
"IncludeScopes": true,
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Error"
|
|
|
|
|
},
|
|
|
|
|
"FileName": "Error\\Log.log"
|
2018-09-15 23:55:54 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"ConnectionStrings": {
|
|
|
|
|
"sql": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa",
|
|
|
|
|
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
|
|
|
|
|
},
|
2019-03-08 18:31:50 +08:00
|
|
|
|
"DB": [
|
|
|
|
|
{
|
|
|
|
|
"Enabled": false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"ProviderName": "Sqlite",
|
|
|
|
|
"ConnectionStrings": {
|
2019-04-04 20:58:44 +08:00
|
|
|
|
"ba": "Data Source=..\\BA\\BootstrapAdmin.db;"
|
2019-03-08 18:31:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2018-10-25 09:59:56 +08:00
|
|
|
|
"AppId": 2,
|
2019-03-08 18:31:50 +08:00
|
|
|
|
"AuthHost": "http://argo.zylweb.cn/BA",
|
|
|
|
|
"AllowOrigins": "http://localhost,http://argo.zylweb.cn",
|
|
|
|
|
"KeyPath": "..\\keys",
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"ApplicationName": "__bd__",
|
|
|
|
|
"ApplicationDiscriminator": "BootstrapAdmin",
|
|
|
|
|
"DisableAutomaticKeyGeneration": true,
|
|
|
|
|
"LongbowCache": {
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"CacheItems": [
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Key": "RoleHelper-RetrieveRolesByUserName",
|
2019-04-04 20:58:44 +08:00
|
|
|
|
"Interval": 600000,
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Desc": "指定用户角色数据缓存"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Key": "RoleHelper-RetrieveRolesByUrl",
|
2019-04-04 20:58:44 +08:00
|
|
|
|
"Interval": 600000,
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Desc": "通过菜单获得角色数据"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Key": "BootstrapUser-RetrieveUsersByName",
|
2019-04-04 20:58:44 +08:00
|
|
|
|
"Interval": 600000,
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Desc": "登录用户数据"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Key": "BootstrapDict-RetrieveDicts",
|
2019-04-04 20:58:44 +08:00
|
|
|
|
"Interval": 600000,
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Desc": "所有字典数据缓存"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Key": "BootstrapMenu-RetrieveMenus",
|
2019-04-04 20:58:44 +08:00
|
|
|
|
"Interval": 600000,
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
|
"Desc": "用户所有菜单数据缓存"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-09-15 23:55:54 +08:00
|
|
|
|
}
|