更新配置:更改配置项更适合发布系统

This commit is contained in:
Argo-MacBookPro 2019-04-04 20:58:44 +08:00
parent fdbd8cec6d
commit d43a993ce8
3 changed files with 38 additions and 38 deletions

View File

@ -25,7 +25,7 @@
{ {
"Enabled": true, "Enabled": true,
"Key": "ba", "Key": "ba",
"Url": "http://localhost:50852/CacheList.axd", "Url": "CacheList.axd",
"Desc": "后台管理数据缓存接口", "Desc": "后台管理数据缓存接口",
"Self": true "Self": true
}, },

View File

@ -51,7 +51,7 @@
], ],
"SwaggerPathBase": "/BA", "SwaggerPathBase": "/BA",
"AllowOrigins": "http://localhost,http://argo.zylweb.cn", "AllowOrigins": "http://localhost,http://argo.zylweb.cn",
"KeyPath": "..\\..\\keys", "KeyPath": "..\\keys",
"ApplicationName": "__bd__", "ApplicationName": "__bd__",
"ApplicationDiscriminator": "BootstrapAdmin", "ApplicationDiscriminator": "BootstrapAdmin",
"DisableAutomaticKeyGeneration": false, "DisableAutomaticKeyGeneration": false,
@ -67,14 +67,14 @@
{ {
"Enabled": true, "Enabled": true,
"Key": "ba", "Key": "ba",
"Url": "http://argo.zylweb.cn/BA/CacheList.axd", "Url": "CacheList.axd",
"Desc": "后台管理数据缓存接口", "Desc": "后台管理数据缓存接口",
"Self": true "Self": true
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "App", "Key": "App",
"Url": "http://argo.zylweb.cn/CacheList.axd", "Url": "../Client/CacheList.axd",
"Desc": "测试系统", "Desc": "测试系统",
"Self": false "Self": false
} }
@ -83,196 +83,196 @@
{ {
"Enabled": true, "Enabled": true,
"Key": "RoleHelper-RetrieveRolesByUserName", "Key": "RoleHelper-RetrieveRolesByUserName",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "指定用户角色数据缓存" "Desc": "指定用户角色数据缓存"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "RoleHelper-RetrieveRolesByUrl", "Key": "RoleHelper-RetrieveRolesByUrl",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过菜单获得角色数据" "Desc": "通过菜单获得角色数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "BootstrapUser-RetrieveUsersByName", "Key": "BootstrapUser-RetrieveUsersByName",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "登录用户数据" "Desc": "登录用户数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "BootstrapDict-RetrieveDicts", "Key": "BootstrapDict-RetrieveDicts",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "所有字典数据缓存" "Desc": "所有字典数据缓存"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "BootstrapMenu-RetrieveMenus", "Key": "BootstrapMenu-RetrieveMenus",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "用户所有菜单数据缓存" "Desc": "用户所有菜单数据缓存"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "GroupHelper-RetrieveGroupsByUserName", "Key": "GroupHelper-RetrieveGroupsByUserName",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "指定用户组数据缓存" "Desc": "指定用户组数据缓存"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "UserHelper-RetrieveUsers", "Key": "UserHelper-RetrieveUsers",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "所有用户数据" "Desc": "所有用户数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "UserHelper-RetrieveUsersByRoleId", "Key": "UserHelper-RetrieveUsersByRoleId",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过角色ID获得所有用户数据" "Desc": "通过角色ID获得所有用户数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "UserHelper-RetrieveUsersByGroupId", "Key": "UserHelper-RetrieveUsersByGroupId",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过部门ID获得所有用户数据" "Desc": "通过部门ID获得所有用户数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "UserHelper-RetrieveNewUsers", "Key": "UserHelper-RetrieveNewUsers",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "新用户数据" "Desc": "新用户数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "MenuHelper-RetrieveMenusByRoleId", "Key": "MenuHelper-RetrieveMenusByRoleId",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过角色ID获得所有菜单数据" "Desc": "通过角色ID获得所有菜单数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "RoleHelper-RetrieveRoles", "Key": "RoleHelper-RetrieveRoles",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "所有角色数据" "Desc": "所有角色数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "RoleHelper-RetrieveRolesByUserId", "Key": "RoleHelper-RetrieveRolesByUserId",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过用户ID获得所有角色数据" "Desc": "通过用户ID获得所有角色数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "RoleHelper-RetrieveRolesByMenuId", "Key": "RoleHelper-RetrieveRolesByMenuId",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过菜单ID获得所有角色数据" "Desc": "通过菜单ID获得所有角色数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "RoleHelper-RetrieveRolesByGroupId", "Key": "RoleHelper-RetrieveRolesByGroupId",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过部门ID获得所有角色数据" "Desc": "通过部门ID获得所有角色数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "GroupHelper-RetrieveGroups", "Key": "GroupHelper-RetrieveGroups",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "所有部门数据" "Desc": "所有部门数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "GroupHelper-RetrieveGroupsByUserId", "Key": "GroupHelper-RetrieveGroupsByUserId",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过用户ID获得所有部门数据" "Desc": "通过用户ID获得所有部门数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "GroupHelper-RetrieveGroupsByRoleId", "Key": "GroupHelper-RetrieveGroupsByRoleId",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过角色ID获得所有部门数据" "Desc": "通过角色ID获得所有部门数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "AppHelper-RetrieveAppsByRoleId", "Key": "AppHelper-RetrieveAppsByRoleId",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过角色ID获得所有应用程序数据" "Desc": "通过角色ID获得所有应用程序数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "LogHelper-RetrieveLogs", "Key": "LogHelper-RetrieveLogs",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "所有日志数据" "Desc": "所有日志数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "DictHelper-RetrieveDictsCategory", "Key": "DictHelper-RetrieveDictsCategory",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "字典分类数据" "Desc": "字典分类数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "NotificationHelper-RetrieveNotifications", "Key": "NotificationHelper-RetrieveNotifications",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通知管理数据" "Desc": "通知管理数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "ExceptionHelper-RetrieveExceptions", "Key": "ExceptionHelper-RetrieveExceptions",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "程序异常数据" "Desc": "程序异常数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "MessageHelper-RetrieveMessages", "Key": "MessageHelper-RetrieveMessages",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "站内消息数据" "Desc": "站内消息数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "TaskHelper-RetrieveTasks", "Key": "TaskHelper-RetrieveTasks",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "所有任务数据" "Desc": "所有任务数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "WebApi", "Key": "WebApi",
"Interval": 21600, "Interval": 21600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "WebApi 数据" "Desc": "WebApi 数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "Token", "Key": "Token",
"Interval": 21600, "Interval": 21600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "Token 数据" "Desc": "Token 数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "NotificationHelper-PullNotificationsInterval", "Key": "NotificationHelper-PullNotificationsInterval",
"Interval": 10, "Interval": 10000,
"SlidingExpiration": false, "SlidingExpiration": false,
"Desc": "全局消息提示轮询时间间隔" "Desc": "全局消息提示轮询时间间隔"
} }

View File

@ -24,7 +24,7 @@
"Enabled": true, "Enabled": true,
"ProviderName": "Sqlite", "ProviderName": "Sqlite",
"ConnectionStrings": { "ConnectionStrings": {
"ba": "Data Source=BA\\BootstrapAdmin.db;" "ba": "Data Source=..\\BA\\BootstrapAdmin.db;"
} }
} }
], ],
@ -41,35 +41,35 @@
{ {
"Enabled": true, "Enabled": true,
"Key": "RoleHelper-RetrieveRolesByUserName", "Key": "RoleHelper-RetrieveRolesByUserName",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "指定用户角色数据缓存" "Desc": "指定用户角色数据缓存"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "RoleHelper-RetrieveRolesByUrl", "Key": "RoleHelper-RetrieveRolesByUrl",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "通过菜单获得角色数据" "Desc": "通过菜单获得角色数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "BootstrapUser-RetrieveUsersByName", "Key": "BootstrapUser-RetrieveUsersByName",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "登录用户数据" "Desc": "登录用户数据"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "BootstrapDict-RetrieveDicts", "Key": "BootstrapDict-RetrieveDicts",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "所有字典数据缓存" "Desc": "所有字典数据缓存"
}, },
{ {
"Enabled": true, "Enabled": true,
"Key": "BootstrapMenu-RetrieveMenus", "Key": "BootstrapMenu-RetrieveMenus",
"Interval": 600, "Interval": 600000,
"SlidingExpiration": true, "SlidingExpiration": true,
"Desc": "用户所有菜单数据缓存" "Desc": "用户所有菜单数据缓存"
} }