|
@@ -532,7 +532,12 @@ namespace GxPress.Service.Implement
|
|
|
var departentList = new List<Entity.Department>();
|
|
|
var departent = await _departmentRepository.GetDepartmentById(departentId, departentList);
|
|
|
var userIds = await departmentUserRepository.GetUserIdsAsync(departent.Select(n => n.Id));
|
|
|
- return await _userRepository.GetUserInfoResultsAsync(userIds);
|
|
|
+ var result = await _userRepository.GetUserInfoResultsAsync(userIds);
|
|
|
+ foreach (var item in result)
|
|
|
+ {
|
|
|
+ item.AvatarUrl = StringUtils.AddDomainMin(item.AvatarUrl);
|
|
|
+ }
|
|
|
+ return result;
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 获取群聊和小组的用户
|