2018-06-07 00:45:47 +08:00
|
|
|
|
{
|
|
|
|
|
"Logging": {
|
|
|
|
|
"IncludeScopes": false,
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Warning"
|
|
|
|
|
},
|
|
|
|
|
"LgbFile": {
|
|
|
|
|
"IncludeScopes": true,
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Error"
|
|
|
|
|
},
|
|
|
|
|
"FileName": "Error\\Log.log"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"ConnectionStrings": {
|
|
|
|
|
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
|
|
|
|
|
},
|
2018-08-30 13:20:40 +08:00
|
|
|
|
"ApplicationName": "__bd__",
|
|
|
|
|
"ApplicationDiscriminator": "BootstrapAdmin",
|
2018-06-16 16:01:59 +08:00
|
|
|
|
"KeyPath": "D:\\App\\Web-App\\keys",
|
2018-08-30 13:20:40 +08:00
|
|
|
|
"DisableAutomaticKeyGeneration": true,
|
2018-06-16 16:01:59 +08:00
|
|
|
|
"AllowOrigins": "http://localhost,http://10.15.63.218",
|
2018-09-08 19:37:42 +08:00
|
|
|
|
"KeepExceptionsPeriod": 12,
|
2018-09-09 14:21:16 +08:00
|
|
|
|
"KeepLogsPeriod": 12,
|
2018-06-16 16:01:59 +08:00
|
|
|
|
"LongbowCache": {
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"CorsItems": [
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Name": "ba",
|
|
|
|
|
"Url": "CacheList.axd",
|
|
|
|
|
"Desc": "后台管理数据缓存接口",
|
|
|
|
|
"Self": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Name": "Pallet",
|
|
|
|
|
"Url": "http://localhost/WebConsole/CacheList.axd",
|
|
|
|
|
"Desc": "托盘组垛系统",
|
|
|
|
|
"Self": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"CacheItems": [
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapAdminAuthorizeFilter-RetrieveRolesByUrl",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "通过菜单获得所有角色数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapAdminGroupMiddleware-RetrieveGroups",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "所有组数据缓存"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapAdminGroupMiddleware-RetrieveGroupsByUserName",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "指定用户所有组数据缓存"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapAdminRoleMiddleware-RetrieveRoles",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "所有角色数据缓存"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapAdminRoleMiddleware-RetrieveRolesByUserName",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "指定用户角色数据缓存"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapDict-RetrieveDicts",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "所有字典数据缓存"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Key": "BootstrapMenu-RetrieveMenusByUserName",
|
2018-06-16 16:01:59 +08:00
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "用户所有菜单数据缓存"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapUser-RetrieveUsers",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "所有用户数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapUser-RetrieveUsersByName",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "登录用户数据"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapUser-RetrieveUsersByRoleId",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
|
"Desc": "通过角色ID获得所有用户数据"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "BootstrapUser-RetrieveUsersByGroupId",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
|
|
|
|
"Desc": "通过部门ID获得所有用户数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "UserHelper-RetrieveNewUsers",
|
2018-09-07 15:53:16 +08:00
|
|
|
|
"Interval": 600,
|
2018-06-16 16:01:59 +08:00
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "新用户数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "MenuHelper-RetrieveMenusByRoleId",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "通过角色ID获得所有菜单数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "RoleHelper-RetrieveRoles",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "所有角色数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "RoleHelper-RetrieveRolesByUserId",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "通过用户ID获得所有角色数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "RoleHelper-RetrieveRolesByMenuId",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "通过菜单ID获得所有角色数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "RoleHelper-RetrieveRolesByGroupId",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "通过部门ID获得所有角色数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "GroupHelper-RetrieveGroups",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "所有部门数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "GroupHelper-RetrieveGroupsByUserId",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "通过用户ID获得所有部门数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "GroupHelper-RetrieveGroupsByRoleId",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "通过角色ID获得所有部门数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "LogHelper-RetrieveLogs",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "所有日志数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "DictHelper-RetrieveDictsCategory",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "字典分类数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "NotificationHelper-RetrieveNotifications",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "通知管理数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "ExceptionHelper-RetrieveExceptions",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "程序异常数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "MessageHelper-RetrieveMessages",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "站内消息数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "TaskHelper-RetrieveTasks",
|
|
|
|
|
"Interval": 600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "所有任务数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "WebApi",
|
|
|
|
|
"Interval": 21600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "WebApi 数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "Token",
|
|
|
|
|
"Interval": 21600,
|
|
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
|
"Desc": "Token 数据"
|
2018-09-07 15:53:16 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Enabled": true,
|
|
|
|
|
"Key": "NotificationHelper-PullNotificationsInterval",
|
|
|
|
|
"Interval": 10,
|
|
|
|
|
"SlidingExpiration": false,
|
|
|
|
|
"Desc": "全局消息提示轮询时间间隔"
|
2018-06-16 16:01:59 +08:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-06-07 00:45:47 +08:00
|
|
|
|
}
|