fix(#IW4PH): 跨域缓存清理支持相对路径
#Comment 依赖组件Longbow.Cache升级到2.2.8 comment #IW4PH #Issue close https://gitee.com/LongbowEnterprise/dashboard/issues?id=IW4PH
This commit is contained in:
parent
b6673fb03e
commit
c8595d3bac
|
@ -20,7 +20,7 @@
|
||||||
"KeyPath": "..\\keys",
|
"KeyPath": "..\\keys",
|
||||||
"DisableAutomaticKeyGeneration": false,
|
"DisableAutomaticKeyGeneration": false,
|
||||||
"LongbowCache": {
|
"LongbowCache": {
|
||||||
"Enabled": false,
|
"Enabled": true,
|
||||||
"CorsItems": [
|
"CorsItems": [
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
|
@ -31,11 +31,174 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
"Key": "APP",
|
"Key": "App",
|
||||||
"Url": "http://localhost:49185/CacheList.axd",
|
"Url": "http://localhost:49185/CacheList.axd",
|
||||||
"Desc": "测试系统",
|
"Desc": "测试系统",
|
||||||
"Self": false
|
"Self": false
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"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": "所有任务数据"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.1.0" />
|
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.1.0" />
|
||||||
<PackageReference Include="Longbow.Cache" Version="2.2.7" />
|
<PackageReference Include="Longbow.Cache" Version="2.2.8" />
|
||||||
<PackageReference Include="Longbow.Data" Version="2.2.8" />
|
<PackageReference Include="Longbow.Data" Version="2.2.8" />
|
||||||
<PackageReference Include="Longbow.Web" Version="2.2.11" />
|
<PackageReference Include="Longbow.Web" Version="2.2.11" />
|
||||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.4" />
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.4" />
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<PackageReference Include="Longbow.Logging" Version="2.2.6" />
|
<PackageReference Include="Longbow.Logging" Version="2.2.6" />
|
||||||
<PackageReference Include="Longbow.Security.Cryptography" Version="1.3.0" />
|
<PackageReference Include="Longbow.Security.Cryptography" Version="1.3.0" />
|
||||||
<PackageReference Include="Longbow.Web" Version="2.2.11" />
|
<PackageReference Include="Longbow.Web" Version="2.2.11" />
|
||||||
<PackageReference Include="Longbow.Cache" Version="2.2.7" />
|
<PackageReference Include="Longbow.Cache" Version="2.2.8" />
|
||||||
<PackageReference Include="Longbow" Version="2.2.9" />
|
<PackageReference Include="Longbow" Version="2.2.9" />
|
||||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.4" />
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.4" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue