diff --git a/src/main/java/com/rymcu/forest/service/impl/TagServiceImpl.java b/src/main/java/com/rymcu/forest/service/impl/TagServiceImpl.java index 2a0c314..54a18ff 100644 --- a/src/main/java/com/rymcu/forest/service/impl/TagServiceImpl.java +++ b/src/main/java/com/rymcu/forest/service/impl/TagServiceImpl.java @@ -103,8 +103,10 @@ public class TagServiceImpl extends AbstractService implements TagService { tags.append(tagNlpDTO.getTag()).append(","); } article.setArticleTags(tags.toString()); - saveTagArticle(article, articleContentHtml); + } else { + article.setArticleTags("待分类"); } + saveTagArticle(article, articleContentHtml); } } return 0;