李昊 před 4 roky
rodič
revize
7dd83908c8

+ 2 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/Reply/ReplyService.Praise.cs

@@ -37,7 +37,7 @@ namespace GxPress.Service.Implement.Reply
                                         a.IsRead,
                                         b.Title,
                                         b.Content,
-                                        c.Name,
+                                        c.Name as UserName,
                                         c.AvatarUrl,
                                         b.CreatedDate,
                                         a.UserId,
@@ -55,6 +55,7 @@ namespace GxPress.Service.Implement.Reply
                                         tede_middle e ON e.MiddleId = b.Id
                                     WHERE
                                         a.TypeValue ={topicNoteConstValue} AND e.IsDelete = 0
+                                            AND  e.FolderType ={topicNoteConstValue}
                                             AND a.CommentId = 0
                                             AND e.UserId = b.UserId
                                             AND a.AnalyzeType = 1