From 59992dcd53d05d6742dfc1cfe784e2f430816c24 Mon Sep 17 00:00:00 2001 From: ronger Date: Tue, 15 Dec 2020 09:11:30 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BF=AE=E6=94=B9=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=A0=87=E7=AD=BE=E4=B8=BA"=E5=BE=85?= =?UTF-8?q?=E5=88=86=E7=B1=BB"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/rymcu/forest/service/impl/TagServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;