李昊 4 years ago
parent
commit
c7c3d14ff3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gx_api/GxPress/Api/GxPress.Api/AppControllers/ReplyController.cs

+ 2 - 2
gx_api/GxPress/Api/GxPress.Api/AppControllers/ReplyController.cs

@@ -53,9 +53,9 @@ namespace GxPress.Api.AppControllers
             result.AddRange(await replyService.GetCommentPraiseAsync(request));
             result.AddRange(await replyService.GetNoticePraiseAsync(request));
             result.AddRange(await replyService.GetTopicPraiseAsync(request));
-            result.OrderByDescending(n => n.CreatedDate);
+            var dd = result.OrderByDescending(n => n.CreatedDate);
             await replyService.UpdateUReadPraiseAsync(request.UserId);
-            return result;
+            return dd;
         }
     }
 }