snowy-main/src/main/java/vip/xiaonuo/modular/blogarticlecomment/controller/BlogArticleCommentOutsideController.java | ●●●●● patch | view | raw | blame | history |
snowy-main/src/main/java/vip/xiaonuo/modular/blogarticlecomment/controller/BlogArticleCommentOutsideController.java
@@ -72,7 +72,7 @@ if (addDto.getArticleId() == null) { throw new BlogException("评论类型为日志评论,日志id不能为空"); } BlogArticle checkArticle = blogArticleService.getById(addDto.getId()); BlogArticle checkArticle = blogArticleService.getById(addDto.getArticleId()); if (checkArticle == null) { throw new BlogException("查询不到相关日志"); }