add(conversationSerivice):后端新增消息会话服务add(main):完善主面板

This commit is contained in:
2025-12-29 20:39:29 +08:00
parent 06410a75e7
commit cf09984056
21 changed files with 1146 additions and 444 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ namespace IM_API.Services
{
query = query.OrderByDescending(x => x.UserId);
}
var friendList = await query.Skip((page - 1 * limit)).Take(limit).ToListAsync();
var friendList = await query.Skip(((page - 1) * limit)).Take(limit).ToListAsync();
return _mapper.Map<List<FriendInfoDto>>(friendList);
}
#endregion