diff --git a/src/main/java/com/rymcu/vertical/util/BaiDuUtils.java b/src/main/java/com/rymcu/vertical/util/BaiDuUtils.java index 83e015f..ec6ce89 100644 --- a/src/main/java/com/rymcu/vertical/util/BaiDuUtils.java +++ b/src/main/java/com/rymcu/vertical/util/BaiDuUtils.java @@ -100,7 +100,7 @@ public class BaiDuUtils { },executor); } - public static void main(){ + public static void main(String[] args){ sendUpdateSEOData("https://rymcu.com"); } } diff --git a/src/main/java/com/rymcu/vertical/util/SpringContextHolder.java b/src/main/java/com/rymcu/vertical/util/SpringContextHolder.java index e35b0d1..b5dbf14 100644 --- a/src/main/java/com/rymcu/vertical/util/SpringContextHolder.java +++ b/src/main/java/com/rymcu/vertical/util/SpringContextHolder.java @@ -92,6 +92,6 @@ public class SpringContextHolder implements ApplicationContextAware, DisposableB * 检查ApplicationContext不为空. */ private static void assertContextInjected() { - Validate.validState(applicationContext != null, "applicaitonContext属性未注入, 请在applicationContext.xml中定义SpringContextHolder."); + Validate.validState(applicationContext != null, "application Context属性未注入, 请在applicationContext.xml中定义SpringContextHolder."); } } \ No newline at end of file diff --git a/src/main/java/com/rymcu/vertical/web/api/comment/CommentController.java b/src/main/java/com/rymcu/vertical/web/api/comment/CommentController.java index 814b625..07999fe 100644 --- a/src/main/java/com/rymcu/vertical/web/api/comment/CommentController.java +++ b/src/main/java/com/rymcu/vertical/web/api/comment/CommentController.java @@ -2,7 +2,6 @@ package com.rymcu.vertical.web.api.comment; import com.rymcu.vertical.core.result.GlobalResult; import com.rymcu.vertical.core.result.GlobalResultGenerator; -import com.rymcu.vertical.dto.ArticleDTO; import com.rymcu.vertical.entity.Comment; import com.rymcu.vertical.service.CommentService; import com.rymcu.vertical.web.api.exception.BaseApiException;