package com.fdkankan.download; import com.dtflys.forest.springboot.annotation.ForestScan; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; import org.springframework.scheduling.annotation.EnableAsync; @SpringBootApplication @ForestScan(basePackages = "com.fdkankan.download.httpclient") @MapperScan("com.fdkankan.**.mapper") @ComponentScan(basePackages = {"com.fdkankan.*"}) @EnableAsync public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } }