feat: 完成聊天室领域与用户领域划分通讯

This commit is contained in:
陈淳
2024-04-09 17:45:12 +08:00
parent 641217085f
commit 944bd8c956
10 changed files with 188 additions and 93 deletions

View File

@@ -67,7 +67,7 @@ namespace Yi.Framework.Rbac.Domain.Managers
public async Task<string> GetTokenByUserIdAsync(Guid userId)
{
//获取用户信息
var userInfo = await _repository.GetUserAllInfoAsync(userId);
var userInfo = await _userManager.GetInfoAsync(userId);
//判断用户状态
if (userInfo.User.State == false)