diff --git a/src/main/java/com/kwan/springbootkwan/service/impl/CsdnCommentServiceImpl.java b/src/main/java/com/kwan/springbootkwan/service/impl/CsdnCommentServiceImpl.java index ab564bd2ca086d334751fd38b7ef9db97aebf8dc..3820ae8e2b55e027f7234c5edbb3862ac687babc 100644 --- a/src/main/java/com/kwan/springbootkwan/service/impl/CsdnCommentServiceImpl.java +++ b/src/main/java/com/kwan/springbootkwan/service/impl/CsdnCommentServiceImpl.java @@ -62,6 +62,7 @@ public class CsdnCommentServiceImpl implements CsdnCommentService { final String userName = info.getUserName(); if (StringUtils.equals(userName, selfUserName)) { //评论过 + log.info("文章已经评论过"); return true; } }