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"
|
|
|
|
|
},
|
|
|
|
|
"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,
|
2018-09-23 16:46:00 +08:00
|
|
|
|
"Name": "AppName",
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"Url": "CacheList.axd",
|
2018-09-23 16:46:00 +08:00
|
|
|
|
"Desc": "自定义系统",
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"Self": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
2018-09-23 16:46:00 +08:00
|
|
|
|
"Name": "ba",
|
|
|
|
|
"Url": "http://localhost:8000/BA/CacheList.axd",
|
|
|
|
|
"Desc": "后台管理数据缓存接口",
|
2018-09-16 19:33:56 +08:00
|
|
|
|
"Self": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"CacheItems": [
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapAdminAuthorizeFilter-RetrieveRolesByUrl",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-17 00:47:36 +08:00
|
|
|
|
"Desc": "通过菜单获得所有角色数据"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapAdminGroupMiddleware-RetrieveGroupsByUserName",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-17 00:47:36 +08:00
|
|
|
|
"Desc": "指定用户所有组数据缓存"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapAdminRoleMiddleware-RetrieveRolesByUserName",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-17 00:47:36 +08:00
|
|
|
|
"Desc": "指定用户角色数据缓存"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapDict-RetrieveDicts",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-17 00:47:36 +08:00
|
|
|
|
"Desc": "所有字典数据缓存"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapMenu-RetrieveMenusByUserName",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-17 00:47:36 +08:00
|
|
|
|
"Desc": "用户所有菜单数据缓存"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapUser-RetrieveUsersByName",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-17 00:47:36 +08:00
|
|
|
|
"Desc": "登录用户数据"
|
2018-09-16 19:33:56 +08:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-09-15 23:55:54 +08:00
|
|
|
|
}
|