李昊 пре 4 година
родитељ
комит
96b457d9e7
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      gx_api/GxPress/Service/GxPress.Service.Implement/UserService.cs

+ 1 - 0
gx_api/GxPress/Service/GxPress.Service.Implement/UserService.cs

@@ -489,6 +489,7 @@ namespace GxPress.Service.Implement
         {
             var userIds = await friendsRepository.GetFriendsIdsAsync(userId, -1);
             var userIdsList = userIds.ToList();
+            userIdsList.Add(userId);
             //判断是否有部门
             if (await departmentUserRepository.IsExistsAsync(userId))
                 //获取部门数据