2019-03-29 18:18:56 +08:00
|
|
|
{
|
2018-06-07 00:45:47 +08:00
|
|
|
"Logging": {
|
|
|
|
"IncludeScopes": false,
|
|
|
|
"LogLevel": {
|
|
|
|
"Default": "Debug",
|
|
|
|
"System": "Information",
|
|
|
|
"Microsoft": "Information"
|
2018-08-30 13:20:40 +08:00
|
|
|
},
|
|
|
|
"LgbFile": {
|
|
|
|
"IncludeScopes": true,
|
|
|
|
"LogLevel": {
|
|
|
|
"Default": "Error"
|
|
|
|
},
|
2018-10-31 21:12:50 +08:00
|
|
|
"FileName": "Error\\Log.log",
|
2018-09-08 22:09:20 +08:00
|
|
|
"MaxFileCount": 1
|
2018-06-07 00:45:47 +08:00
|
|
|
}
|
2018-06-16 16:01:59 +08:00
|
|
|
},
|
2018-10-26 09:53:00 +08:00
|
|
|
"SwaggerPathBase": "",
|
2019-05-04 16:45:40 +08:00
|
|
|
"AllowOrigins": "http://localhost:49185",
|
2019-05-05 15:35:06 +08:00
|
|
|
"Domain": null,
|
2018-10-31 21:12:50 +08:00
|
|
|
"KeyPath": "..\\keys",
|
2018-08-30 13:20:40 +08:00
|
|
|
"DisableAutomaticKeyGeneration": false,
|
2018-06-16 16:01:59 +08:00
|
|
|
"LongbowCache": {
|
2019-05-04 01:42:57 +08:00
|
|
|
"Enabled": true,
|
2018-06-16 16:01:59 +08:00
|
|
|
"CorsItems": [
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
2019-01-15 12:52:09 +08:00
|
|
|
"Key": "ba",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Url": "CacheList.axd",
|
2018-06-16 16:01:59 +08:00
|
|
|
"Desc": "后台管理数据缓存接口",
|
|
|
|
"Self": true
|
|
|
|
},
|
|
|
|
{
|
2018-09-17 00:29:38 +08:00
|
|
|
"Enabled": true,
|
2019-05-04 01:42:57 +08:00
|
|
|
"Key": "App",
|
2018-09-17 00:29:38 +08:00
|
|
|
"Url": "http://localhost:49185/CacheList.axd",
|
|
|
|
"Desc": "测试系统",
|
2018-06-16 16:01:59 +08:00
|
|
|
"Self": false
|
|
|
|
}
|
2019-05-04 01:42:57 +08:00
|
|
|
],
|
|
|
|
"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": "用户所有菜单数据缓存"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "GroupHelper-RetrieveGroupsByUserName",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "指定用户组数据缓存"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "UserHelper-RetrieveUsers",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "所有用户数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "UserHelper-RetrieveUsersByRoleId",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过角色ID获得所有用户数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "UserHelper-RetrieveUsersByGroupId",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过部门ID获得所有用户数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "UserHelper-RetrieveNewUsers",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "新用户数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "MenuHelper-RetrieveMenusByRoleId",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过角色ID获得所有菜单数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "RoleHelper-RetrieveRoles",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "所有角色数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "RoleHelper-RetrieveRolesByUserId",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过用户ID获得所有角色数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "RoleHelper-RetrieveRolesByMenuId",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过菜单ID获得所有角色数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "RoleHelper-RetrieveRolesByGroupId",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过部门ID获得所有角色数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "GroupHelper-RetrieveGroups",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "所有部门数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "GroupHelper-RetrieveGroupsByUserId",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过用户ID获得所有部门数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "GroupHelper-RetrieveGroupsByRoleId",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过角色ID获得所有部门数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "AppHelper-RetrieveAppsByRoleId",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过角色ID获得所有应用程序数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "DictHelper-RetrieveDictsCategory",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "字典分类数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "ExceptionHelper-RetrieveExceptions",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "程序异常数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "MessageHelper-RetrieveMessages",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "站内消息数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "TaskHelper-RetrieveTasks",
|
|
|
|
"Interval": 600000,
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "所有任务数据"
|
|
|
|
}
|
2018-06-16 16:01:59 +08:00
|
|
|
]
|
2018-06-07 00:45:47 +08:00
|
|
|
}
|
|
|
|
}
|