99 lines
2.5 KiB
JSON
99 lines
2.5 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"
|
|
},
|
|
"AppId": 4,
|
|
"AuthHost": "http://localhost:50852",
|
|
"TokenValidateOption": {
|
|
"Issuer": "BA",
|
|
"Audience": "api",
|
|
"Expires": 5,
|
|
"SecurityKey": "BootstrapAdmin-V1.1"
|
|
},
|
|
"TokenValidateAuthorizateOption": "Role",
|
|
"ApplicationName": "__bd__",
|
|
"ApplicationDiscriminator": "BootstrapAdmin",
|
|
"KeyPath": "D:\\App\\Web-App\\keys",
|
|
"DisableAutomaticKeyGeneration": true,
|
|
"AllowOrigins": "http://localhost,http://10.15.63.218",
|
|
"KeepExceptionsPeriod": 12,
|
|
"KeepLogsPeriod": 12,
|
|
"LongbowCache": {
|
|
"Enabled": true,
|
|
"CorsItems": [
|
|
{
|
|
"Enabled": true,
|
|
"Name": "ba",
|
|
"Url": "CacheList.axd",
|
|
"Desc": "后台管理数据缓存接口",
|
|
"Self": true
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Name": "AppName",
|
|
"Url": "http://localhost/WebConsole/CacheList.axd",
|
|
"Desc": "自定义系统",
|
|
"Self": false
|
|
}
|
|
],
|
|
"CacheItems": [
|
|
{
|
|
"Enabled": true,
|
|
"Key": "BootstrapAdminAuthorizeFilter-RetrieveRolesByUrl",
|
|
"Interval": 600,
|
|
"SlidingExpiration": true,
|
|
"Desc": "通过菜单获得所有角色数据"
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Key": "BootstrapAdminGroupMiddleware-RetrieveGroupsByUserName",
|
|
"Interval": 600,
|
|
"SlidingExpiration": true,
|
|
"Desc": "指定用户所有组数据缓存"
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Key": "BootstrapAdminRoleMiddleware-RetrieveRolesByUserName",
|
|
"Interval": 600,
|
|
"SlidingExpiration": true,
|
|
"Desc": "指定用户角色数据缓存"
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Key": "BootstrapDict-RetrieveDicts",
|
|
"Interval": 600,
|
|
"SlidingExpiration": true,
|
|
"Desc": "所有字典数据缓存"
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Key": "BootstrapMenu-RetrieveMenusByUserName",
|
|
"Interval": 600,
|
|
"SlidingExpiration": true,
|
|
"Desc": "用户所有菜单数据缓存"
|
|
},
|
|
{
|
|
"Enabled": true,
|
|
"Key": "BootstrapUser-RetrieveUsersByName",
|
|
"Interval": 600,
|
|
"SlidingExpiration": true,
|
|
"Desc": "登录用户数据"
|
|
}
|
|
]
|
|
}
|
|
}
|