作者 郑周

Merge branch 'dev' into test

@@ -197,7 +197,11 @@ func (l *MiniCreateArticleCommentLogic) MiniCreateArticleComment(req *types.Mini @@ -197,7 +197,11 @@ func (l *MiniCreateArticleCommentLogic) MiniCreateArticleComment(req *types.Mini
197 197
198 // 创建回复消息 198 // 创建回复消息
199 var atAllIds = make([]int64, 0) 199 var atAllIds = make([]int64, 0)
200 - atAllIds = append(atAllIds, newComment.ToUserId) 200 + if pComment != nil {
  201 + atAllIds = append(atAllIds, articleInfo.AuthorId)
  202 + } else {
  203 + atAllIds = append(atAllIds, newComment.ToUserId)
  204 + }
201 atAllIds = append(atAllIds, atWhoIds...) 205 atAllIds = append(atAllIds, atWhoIds...)
202 var messageLogic = message.NewMiniBusinessLogic(l.ctx, l.svcCtx) 206 var messageLogic = message.NewMiniBusinessLogic(l.ctx, l.svcCtx)
203 if pComment != nil { 207 if pComment != nil {