作者 庄敏学

stash

@@ -43,7 +43,6 @@ func (l *SystemUpdateArticleLogic) SystemUpdateArticle(req *types.SystemArticleU @@ -43,7 +43,6 @@ func (l *SystemUpdateArticleLogic) SystemUpdateArticle(req *types.SystemArticleU
43 //TargetUser 设定为分发给所有人,清空 WhoRead 43 //TargetUser 设定为分发给所有人,清空 WhoRead
44 req.WhoRead = make([]int64, 0) 44 req.WhoRead = make([]int64, 0)
45 } 45 }
46 -  
47 // 检查文字数量 46 // 检查文字数量
48 wordNum := 0 47 wordNum := 0
49 for i := range req.Section { 48 for i := range req.Section {
@@ -238,6 +237,10 @@ func (l *SystemUpdateArticleLogic) SystemUpdateArticle(req *types.SystemArticleU @@ -238,6 +237,10 @@ func (l *SystemUpdateArticleLogic) SystemUpdateArticle(req *types.SystemArticleU
238 if err != nil { 237 if err != nil {
239 return xerr.NewErrMsgErr("保存文章内容失败", err) 238 return xerr.NewErrMsgErr("保存文章内容失败", err)
240 } 239 }
  240 + //文章定性
  241 + if len(article.Tags) > 0 {
  242 +
  243 + }
241 return nil 244 return nil
242 }, true) 245 }, true)
243 resp = &types.SystemArticleUpdateResponse{ 246 resp = &types.SystemArticleUpdateResponse{
@@ -253,3 +256,7 @@ func (l *SystemUpdateArticleLogic) SystemUpdateArticle(req *types.SystemArticleU @@ -253,3 +256,7 @@ func (l *SystemUpdateArticleLogic) SystemUpdateArticle(req *types.SystemArticleU
253 } 256 }
254 return 257 return
255 } 258 }
  259 +
  260 +func (l *SystemUpdateArticleLogic) setTags(conn transaction.Conn, article *domain.Article) error {
  261 + return nil
  262 +}