Merge pull request #188 from wuzhi1234/fixbug-addBreakToTagsSwitchEnd

标签判断完没有加break,导致标签会继续走分类的逻辑
pull/192/head
John Niang 2019-06-08 08:16:11 +08:00 committed by GitHub
commit 1333b15240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -330,6 +330,7 @@ public class PostServiceImpl extends BasePostServiceImpl<Post> implements PostSe
tag = tagService.create(tag);
}
tagIds.add(tag.getId());
break;
case "categories":
Category category = categoryService.getByName(ele);
if (null == category) {