作者 郑周

1 优化评论发送消息

... ... @@ -198,9 +198,9 @@ func (l *MiniCreateArticleCommentLogic) MiniCreateArticleComment(req *types.Mini
// 创建回复消息
var atAllIds = make([]int64, 0)
if pComment != nil {
atAllIds = append(atAllIds, articleInfo.AuthorId)
} else {
atAllIds = append(atAllIds, newComment.ToUserId)
} else {
atAllIds = append(atAllIds, articleInfo.AuthorId)
}
atAllIds = append(atAllIds, atWhoIds...)
var messageLogic = message.NewMiniBusinessLogic(l.ctx, l.svcCtx)
... ...