lihao vor 4 Jahren
Ursprung
Commit
ae3ba12c06

+ 6 - 0
gx_api/GxPress/Service/GxPress.Service.Implement/Topic/TopicService.cs

@@ -186,7 +186,13 @@ namespace GxPress.Service.Implement.Topic
                             data.Title = string.Empty;
                         if (string.IsNullOrEmpty(data.FileName))
                             data.FileName = string.Empty;
+                        if (data.Type == AllTypeConst.CollectFolder.GetHashCode())
+                        {
+                            var userName = await _userRepository.GetNameAsync(data.SourceUserId);
+                            data.Author = userName;
+                        }
                     }
+
                 }
             }
             return result;