Merge branch 'dev' of http://gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss into dev
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -198,9 +198,9 @@ func (l *MiniCreateArticleCommentLogic) MiniCreateArticleComment(req *types.Mini | @@ -198,9 +198,9 @@ func (l *MiniCreateArticleCommentLogic) MiniCreateArticleComment(req *types.Mini | ||
198 | // 创建回复消息 | 198 | // 创建回复消息 |
199 | var atAllIds = make([]int64, 0) | 199 | var atAllIds = make([]int64, 0) |
200 | if pComment != nil { | 200 | if pComment != nil { |
201 | - atAllIds = append(atAllIds, articleInfo.AuthorId) | ||
202 | - } else { | ||
203 | atAllIds = append(atAllIds, newComment.ToUserId) | 201 | atAllIds = append(atAllIds, newComment.ToUserId) |
202 | + } else { | ||
203 | + atAllIds = append(atAllIds, articleInfo.AuthorId) | ||
204 | } | 204 | } |
205 | atAllIds = append(atAllIds, atWhoIds...) | 205 | atAllIds = append(atAllIds, atWhoIds...) |
206 | var messageLogic = message.NewMiniBusinessLogic(l.ctx, l.svcCtx) | 206 | var messageLogic = message.NewMiniBusinessLogic(l.ctx, l.svcCtx) |
-
请 注册 或 登录 后发表评论