🎨 修改文章默认标签为"待分类"

This commit is contained in:
ronger 2020-12-15 09:11:30 +08:00
parent 2542cf4515
commit 59992dcd53

View File

@ -103,8 +103,10 @@ public class TagServiceImpl extends AbstractService<Tag> implements TagService {
tags.append(tagNlpDTO.getTag()).append(","); tags.append(tagNlpDTO.getTag()).append(",");
} }
article.setArticleTags(tags.toString()); article.setArticleTags(tags.toString());
saveTagArticle(article, articleContentHtml); } else {
article.setArticleTags("待分类");
} }
saveTagArticle(article, articleContentHtml);
} }
} }
return 0; return 0;