From dc20ad42bd5655ae7e58ae54b09bdd3817a63b50 Mon Sep 17 00:00:00 2001 From: xiongxiaoyang <773861846@qq.com> Date: Wed, 15 Apr 2020 13:32:26 +0800 Subject: [PATCH] update --- .../xyz/zinglizingli/books/core/config/CrawlDingdianConfig.java | 1 - 1 file changed, 1 deletion(-) diff --git a/novel-front/src/main/java/xyz/zinglizingli/books/core/config/CrawlDingdianConfig.java b/novel-front/src/main/java/xyz/zinglizingli/books/core/config/CrawlDingdianConfig.java index 6acca88d..dcf7ff44 100644 --- a/novel-front/src/main/java/xyz/zinglizingli/books/core/config/CrawlDingdianConfig.java +++ b/novel-front/src/main/java/xyz/zinglizingli/books/core/config/CrawlDingdianConfig.java @@ -18,7 +18,6 @@ public class CrawlDingdianConfig { @Bean - @Primary //必须加此注解,不然报错,下一个类则不需要添加 @ConfigurationProperties(prefix = "dingdian.crawlsource") // prefix值必须是application.yml中对应属性的前缀 @ConditionalOnProperty(prefix = "crawl.website",name = "type",havingValue = "3") public BaseHtmlCrawlSource dingdianCrawlSource() {