fix: 修复缓存字段公开问题

This commit is contained in:
陈淳
2024-02-27 10:00:07 +08:00
parent 11b94f965c
commit 2fb831075e
3 changed files with 5 additions and 3 deletions

View File

@@ -269,6 +269,7 @@ namespace Yi.Framework.Rbac.Application.Services
}
//此处优先从缓存中获取
UserRoleMenuDto output = null;
var cacheData = await _userCache.GetAsync(new UserInfoCacheKey(userId.Value));
if (cacheData is not null)
{