ModelingControlApplication.java 993 B

123456789101112131415161718192021222324252627282930313233
  1. package com.fdkankan.contro;
  2. import com.dtflys.forest.springboot.annotation.ForestScan;
  3. import org.mybatis.spring.annotation.MapperScan;
  4. import org.springframework.boot.SpringApplication;
  5. import org.springframework.boot.autoconfigure.SpringBootApplication;
  6. import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
  7. import org.springframework.context.annotation.ComponentScan;
  8. import org.springframework.scheduling.annotation.EnableAsync;
  9. import org.springframework.scheduling.annotation.EnableScheduling;
  10. /**
  11. * <p>
  12. * TODO
  13. * </p>
  14. *
  15. * @author dengsixing
  16. * @since 2022/2/22
  17. **/
  18. @SpringBootApplication
  19. @EnableScheduling
  20. @ComponentScan(basePackages = {"com.fdkankan.*"})
  21. @EnableAsync
  22. @MapperScan("com.fdkankan.**.mapper")
  23. @EnableDiscoveryClient
  24. @ForestScan(basePackages = "com.fdkankan.contro.httpclient")
  25. public class ModelingControlApplication {
  26. public static void main(String[] args) {
  27. SpringApplication.run(ModelingControlApplication.class, args);
  28. }
  29. }