diff --git a/src/main/java/com/greate/community/controller/SearchController.java b/src/main/java/com/greate/community/controller/SearchController.java index f05d6389..df7f2284 100644 --- a/src/main/java/com/greate/community/controller/SearchController.java +++ b/src/main/java/com/greate/community/controller/SearchController.java @@ -26,9 +26,6 @@ public class SearchController implements CommunityConstant { @Autowired private UserService userService; - @Autowired - private DiscussPostService discussPostService; - @Autowired private LikeService likeService; diff --git a/src/main/java/com/greate/community/event/EventConsumer.java b/src/main/java/com/greate/community/event/EventConsumer.java index 251f63da..ee761ebd 100644 --- a/src/main/java/com/greate/community/event/EventConsumer.java +++ b/src/main/java/com/greate/community/event/EventConsumer.java @@ -36,12 +36,6 @@ public class EventConsumer implements CommunityConstant { @Autowired private ElasticsearchService elasticsearchService; - @Value("${wk.image.command}") - private String wkImageCommand; - - @Value("${wk.image.storage}") - private String wkImageStorage; - @Value("${qiniu.key.access}") private String accessKey;