Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
x201206030 committed Apr 15, 2020
1 parent 290522e commit dc20ad4
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -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() {
Expand Down

0 comments on commit dc20ad4

Please sign in to comment.