|
@@ -417,7 +417,8 @@ namespace GxPress.Service.Implement
|
|
|
FriendUsers = await _userRepository.GetUserInfoResultsAsync(userIds)
|
|
|
};
|
|
|
if (result.FriendUsers != null && result.FriendUsers.Count() > 0)
|
|
|
- result.FriendUsers.Select(n => n.AvatarUrl = StringUtils.AddDomainMin(n.AvatarUrl));
|
|
|
+ foreach (var item in result.FriendUsers)
|
|
|
+ item.AvatarUrl = StringUtils.AddDomainMin(item.AvatarUrl);
|
|
|
return result;
|
|
|
}
|
|
|
/// <summary>
|