This commit is contained in:
2024-04-11 17:31:32 +08:00
parent f6eaa2f481
commit 4fbc6c0267
200 changed files with 1252 additions and 1860 deletions

View File

@@ -784,6 +784,10 @@ public class AuthorizeService : IAuthorizeService, IDynamicApiController, ITrans
{
var tenantId = _userManager.TenantId;
var list = await GetOnlineUserList(tenantId);
if (list == null)
{
return;
}
var user = list.Find(it => it.tenantId == tenantId && it.userId == id);
if (user != null)
{