|
|
|
@ -145,7 +145,7 @@ func (svc *Service) CreatePostComment(userID int64, param CommentCreationReq) (*
|
|
|
|
|
SenderUserID: userID,
|
|
|
|
|
ReceiverUserID: postMaster.ID,
|
|
|
|
|
Type: model.MESSAGE_COMMENT,
|
|
|
|
|
Breif: "在泡泡中评论了你",
|
|
|
|
|
Brief: "在泡泡中评论了你",
|
|
|
|
|
PostID: post.ID,
|
|
|
|
|
CommentID: comment.ID,
|
|
|
|
|
})
|
|
|
|
@ -161,7 +161,7 @@ func (svc *Service) CreatePostComment(userID int64, param CommentCreationReq) (*
|
|
|
|
|
SenderUserID: userID,
|
|
|
|
|
ReceiverUserID: user.ID,
|
|
|
|
|
Type: model.MESSAGE_COMMENT,
|
|
|
|
|
Breif: "在泡泡评论中@了你",
|
|
|
|
|
Brief: "在泡泡评论中@了你",
|
|
|
|
|
PostID: post.ID,
|
|
|
|
|
CommentID: comment.ID,
|
|
|
|
|
})
|
|
|
|
@ -246,7 +246,7 @@ func (svc *Service) CreatePostCommentReply(commentID int64, content string, user
|
|
|
|
|
SenderUserID: userID,
|
|
|
|
|
ReceiverUserID: commentMaster.ID,
|
|
|
|
|
Type: model.MESSAGE_REPLY,
|
|
|
|
|
Breif: "在泡泡评论下回复了你",
|
|
|
|
|
Brief: "在泡泡评论下回复了你",
|
|
|
|
|
PostID: post.ID,
|
|
|
|
|
CommentID: comment.ID,
|
|
|
|
|
ReplyID: reply.ID,
|
|
|
|
@ -258,7 +258,7 @@ func (svc *Service) CreatePostCommentReply(commentID int64, content string, user
|
|
|
|
|
SenderUserID: userID,
|
|
|
|
|
ReceiverUserID: postMaster.ID,
|
|
|
|
|
Type: model.MESSAGE_REPLY,
|
|
|
|
|
Breif: "在泡泡评论下发布了新回复",
|
|
|
|
|
Brief: "在泡泡评论下发布了新回复",
|
|
|
|
|
PostID: post.ID,
|
|
|
|
|
CommentID: comment.ID,
|
|
|
|
|
ReplyID: reply.ID,
|
|
|
|
@ -272,7 +272,7 @@ func (svc *Service) CreatePostCommentReply(commentID int64, content string, user
|
|
|
|
|
SenderUserID: userID,
|
|
|
|
|
ReceiverUserID: user.ID,
|
|
|
|
|
Type: model.MESSAGE_REPLY,
|
|
|
|
|
Breif: "在泡泡评论的回复中@了你",
|
|
|
|
|
Brief: "在泡泡评论的回复中@了你",
|
|
|
|
|
PostID: post.ID,
|
|
|
|
|
CommentID: comment.ID,
|
|
|
|
|
ReplyID: reply.ID,
|
|
|
|
|