inleft
2022-03-02 34223b096cf6ad9d92c3702bb9529e764f523b11
调整查询
1 files modified
2 ■■■ changed files
snowy-main/src/main/java/vip/xiaonuo/modular/blogarticlecomment/controller/BlogArticleCommentOutsideController.java 2 ●●● 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("查询不到相关日志");
            }