2019-03-29 18:18:56 +08:00
|
|
|
{
|
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"
|
|
|
|
},
|
2019-01-15 12:52:09 +08:00
|
|
|
"MongoDB": "BootstrapAdmin",
|
2018-10-19 23:09:52 +08:00
|
|
|
"DB": [
|
|
|
|
{
|
2019-03-08 18:31:50 +08:00
|
|
|
"Enabled": false
|
2018-10-19 23:09:52 +08:00
|
|
|
},
|
2019-01-20 17:10:47 +08:00
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"ProviderName": "Sqlite",
|
|
|
|
"ConnectionStrings": {
|
|
|
|
"ba": "Data Source=BootstrapAdmin.db;"
|
|
|
|
}
|
|
|
|
},
|
2018-10-19 23:09:52 +08:00
|
|
|
{
|
2018-11-02 12:46:56 +08:00
|
|
|
"Enabled": true,
|
2019-01-15 12:52:09 +08:00
|
|
|
"ProviderName": "MySql",
|
2018-11-02 12:46:56 +08:00
|
|
|
"ConnectionStrings": {
|
2019-01-20 12:02:09 +08:00
|
|
|
"ba": "Server=localhost;Database=BA;Uid=argozhang;Pwd=argo@163.com;SslMode=none;"
|
2018-11-02 12:46:56 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
2019-01-20 17:10:47 +08:00
|
|
|
"ProviderName": "Npgsql",
|
2018-10-19 23:09:52 +08:00
|
|
|
"ConnectionStrings": {
|
2019-01-20 17:10:47 +08:00
|
|
|
"ba": "Server=localhost;Database=BootstrapAdmin;User ID=argozhang;Password=argo@163.com;"
|
2018-10-19 23:09:52 +08:00
|
|
|
}
|
2018-10-30 13:07:29 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Widget": "Bootstrap.DataAccess.MongoDB",
|
|
|
|
"ConnectionStrings": {
|
2019-02-24 17:27:41 +08:00
|
|
|
"ba": "mongodb://localhost:27017"
|
2018-10-30 13:07:29 +08:00
|
|
|
}
|
2018-10-19 23:09:52 +08:00
|
|
|
}
|
|
|
|
],
|
2018-10-26 09:53:00 +08:00
|
|
|
"SwaggerPathBase": "/BA",
|
2019-03-08 18:31:50 +08:00
|
|
|
"AllowOrigins": "http://localhost,http://argo.zylweb.cn",
|
2019-05-05 15:35:06 +08:00
|
|
|
"Domain": null,
|
2019-04-04 20:58:44 +08:00
|
|
|
"KeyPath": "..\\keys",
|
2018-10-18 11:14:32 +08:00
|
|
|
"ApplicationName": "__bd__",
|
|
|
|
"ApplicationDiscriminator": "BootstrapAdmin",
|
|
|
|
"DisableAutomaticKeyGeneration": false,
|
2018-09-11 19:58:12 +08:00
|
|
|
"TokenValidateOption": {
|
|
|
|
"Issuer": "BA",
|
|
|
|
"Audience": "api",
|
|
|
|
"Expires": 5,
|
|
|
|
"SecurityKey": "BootstrapAdmin-V1.1"
|
|
|
|
},
|
2018-06-16 16:01:59 +08:00
|
|
|
"LongbowCache": {
|
|
|
|
"Enabled": true,
|
|
|
|
"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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
2019-03-08 18:31:50 +08:00
|
|
|
"Key": "App",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Url": "../Client/CacheList.axd",
|
2019-03-08 18:31:50 +08:00
|
|
|
"Desc": "测试系统",
|
2018-06-16 16:01:59 +08:00
|
|
|
"Self": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"CacheItems": [
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Key": "RoleHelper-RetrieveRolesByUserName",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Desc": "指定用户角色数据缓存"
|
2018-06-16 16:01:59 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Key": "RoleHelper-RetrieveRolesByUrl",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Desc": "通过菜单获得角色数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Key": "BootstrapUser-RetrieveUsersByName",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Desc": "登录用户数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "BootstrapDict-RetrieveDicts",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
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,
|
2018-10-28 20:50:01 +08:00
|
|
|
"Key": "BootstrapMenu-RetrieveMenus",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
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,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Key": "GroupHelper-RetrieveGroupsByUserName",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Desc": "指定用户组数据缓存"
|
2018-06-16 16:01:59 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Key": "UserHelper-RetrieveUsers",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"SlidingExpiration": true,
|
2018-11-05 18:10:22 +08:00
|
|
|
"Desc": "所有用户数据"
|
2018-09-10 18:35:25 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
2018-10-28 21:14:03 +08:00
|
|
|
"Key": "UserHelper-RetrieveUsersByRoleId",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-09-10 18:35:25 +08:00
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过角色ID获得所有用户数据"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
2018-10-28 21:14:03 +08:00
|
|
|
"Key": "UserHelper-RetrieveUsersByGroupId",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-09-10 18:35:25 +08:00
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过部门ID获得所有用户数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "UserHelper-RetrieveNewUsers",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
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",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"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",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
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": "RoleHelper-RetrieveRolesByUserId",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"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",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"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",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"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",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
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": "GroupHelper-RetrieveGroupsByUserId",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"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",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2018-06-16 16:01:59 +08:00
|
|
|
"SlidingExpiration": true,
|
2018-09-10 18:35:25 +08:00
|
|
|
"Desc": "通过角色ID获得所有部门数据"
|
2018-06-16 16:01:59 +08:00
|
|
|
},
|
2019-02-24 17:27:41 +08:00
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "AppHelper-RetrieveAppsByRoleId",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
2019-02-24 17:27:41 +08:00
|
|
|
"SlidingExpiration": true,
|
|
|
|
"Desc": "通过角色ID获得所有应用程序数据"
|
|
|
|
},
|
2018-06-16 16:01:59 +08:00
|
|
|
{
|
|
|
|
"Enabled": true,
|
|
|
|
"Key": "DictHelper-RetrieveDictsCategory",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
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": "ExceptionHelper-RetrieveExceptions",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
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": "MessageHelper-RetrieveMessages",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
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": "TaskHelper-RetrieveTasks",
|
2019-04-04 20:58:44 +08:00
|
|
|
"Interval": 600000,
|
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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2018-06-07 00:45:47 +08:00
|
|
|
}
|