正在显示
1 个修改的文件
包含
9 行增加
和
0 行删除
@@ -2,6 +2,7 @@ package article | @@ -2,6 +2,7 @@ package article | ||
2 | 2 | ||
3 | import ( | 3 | import ( |
4 | "context" | 4 | "context" |
5 | + "gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/api/internal/logic/message" | ||
5 | 6 | ||
6 | "gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/api/internal/svc" | 7 | "gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/api/internal/svc" |
7 | "gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/api/internal/types" | 8 | "gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/api/internal/types" |
@@ -80,6 +81,14 @@ func (l *MiniArticleSetTagLogic) MiniArticleSetTag(req *types.MiniArticleSetTagR | @@ -80,6 +81,14 @@ func (l *MiniArticleSetTagLogic) MiniArticleSetTag(req *types.MiniArticleSetTagR | ||
80 | if err != nil { | 81 | if err != nil { |
81 | return err | 82 | return err |
82 | } | 83 | } |
84 | + | ||
85 | + // 定性消息通知 | ||
86 | + messageLogic := message.NewMiniSystemLogic(ctx, l.svcCtx) | ||
87 | + err = messageLogic.ArticleDefined(c, articleInfo.CompanyId, articleInfo.AuthorId, articleInfo.Title) | ||
88 | + if err != nil { | ||
89 | + return err | ||
90 | + } | ||
91 | + | ||
83 | return nil | 92 | return nil |
84 | }, true) | 93 | }, true) |
85 | 94 |
-
请 注册 或 登录 后发表评论