SceneDownloadApplication.java 775 B

1234567891011121314151617181920212223242526272829
  1. package com.fdkankan.download;
  2. import org.springframework.boot.SpringApplication;
  3. import org.springframework.boot.autoconfigure.SpringBootApplication;
  4. import org.springframework.cloud.context.config.annotation.RefreshScope;
  5. import org.springframework.context.annotation.ComponentScan;
  6. import org.springframework.scheduling.annotation.EnableAsync;
  7. import org.springframework.scheduling.annotation.EnableScheduling;
  8. /**
  9. * <p>
  10. * TODO
  11. * </p>
  12. *
  13. * @author dengsixing
  14. * @since 2022/2/22
  15. **/
  16. @SpringBootApplication
  17. @EnableScheduling
  18. @ComponentScan(basePackages = {"com.fdkankan.*"})
  19. @RefreshScope
  20. @EnableAsync
  21. public class SceneDownloadApplication {
  22. public static void main(String[] args) {
  23. SpringApplication.run(SceneDownloadApplication.class, args);
  24. }
  25. }