From a1b8c9b6fdf5056734e3299ed6a5a2aaaeb5ebbe Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Wed, 27 Apr 2022 14:35:02 +0800 Subject: [PATCH] fix work moments bug --- internal/api/office/work_moments.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/api/office/work_moments.go b/internal/api/office/work_moments.go index 4b1f211d5..0535feee5 100644 --- a/internal/api/office/work_moments.go +++ b/internal/api/office/work_moments.go @@ -267,7 +267,7 @@ func GetUserWorkMoments(c *gin.Context) { UserID: comment.UserID, UserName: comment.UserName, ReplyUserID: comment.ReplyUserID, - ReplyUserName: comment.ReplyUserID, + ReplyUserName: comment.ReplyUserName, ContentID: comment.ContentID, Content: comment.Content, CreateTime: comment.CreateTime, @@ -350,7 +350,7 @@ func GetUserFriendWorkMoments(c *gin.Context) { UserID: comment.UserID, UserName: comment.UserName, ReplyUserID: comment.ReplyUserID, - ReplyUserName: comment.ReplyUserID, + ReplyUserName: comment.ReplyUserName, ContentID: comment.ContentID, Content: comment.Content, CreateTime: comment.CreateTime,