80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
{
|
|
"Logging": {
|
|
"IncludeScopes": false,
|
|
"LogLevel": {
|
|
"Default": "Warning"
|
|
},
|
|
"LgbFile": {
|
|
"IncludeScopes": true,
|
|
"LogLevel": {
|
|
"Default": "Error"
|
|
},
|
|
"FileName": "Error\\Log.log"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"sql": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa",
|
|
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
|
|
},
|
|
"DB": [
|
|
{
|
|
"Enabled": false
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"ProviderName": "Sqlite",
|
|
"ConnectionStrings": {
|
|
"ba": "Data Source=..\\BA\\BootstrapAdmin.db;"
|
|
}
|
|
}
|
|
],
|
|
"AppId": 2,
|
|
"AuthHost": "http://argo.zylweb.cn/BA",
|
|
"Domain": null,
|
|
"AllowOrigins": "http://localhost,http://argo.zylweb.cn",
|
|
"KeyPath": "..\\keys",
|
|
"ApplicationName": "__bd__",
|
|
"ApplicationDiscriminator": "BootstrapAdmin",
|
|
"DisableAutomaticKeyGeneration": true,
|
|
"LongbowCache": {
|
|
"Enabled": true,
|
|
"CacheItems": [
|
|
{
|
|
"Enabled": true,
|
|
"Key": "RoleHelper-RetrieveRolesByUserName",
|
|
"Interval": 600000,
|
|
"SlidingExpiration": true,
|
|
"Desc": "指定用户角色数据缓存"
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Key": "RoleHelper-RetrieveRolesByUrl",
|
|
"Interval": 600000,
|
|
"SlidingExpiration": true,
|
|
"Desc": "通过菜单获得角色数据"
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Key": "BootstrapUser-RetrieveUsersByName",
|
|
"Interval": 600000,
|
|
"SlidingExpiration": true,
|
|
"Desc": "登录用户数据"
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Key": "BootstrapDict-RetrieveDicts",
|
|
"Interval": 600000,
|
|
"SlidingExpiration": true,
|
|
"Desc": "所有字典数据缓存"
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Key": "BootstrapMenu-RetrieveMenus",
|
|
"Interval": 600000,
|
|
"SlidingExpiration": true,
|
|
"Desc": "用户所有菜单数据缓存"
|
|
}
|
|
]
|
|
}
|
|
}
|