DilApplicationMain.java 881 B

1234567891011121314151617181920212223242526
  1. package com.steerinfo;
  2. import org.mybatis.spring.annotation.MapperScan;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.boot.web.servlet.ServletComponentScan;
  6. import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
  7. import org.springframework.cloud.openfeign.EnableFeignClients;
  8. import org.springframework.scheduling.annotation.EnableScheduling;
  9. /**
  10. * @Author zhangnan
  11. * @Date 2021/4/21 14:32
  12. * @Version 1.0
  13. */
  14. @SpringBootApplication
  15. @ServletComponentScan
  16. @EnableScheduling
  17. @MapperScan({"com.steerinfo.dil.mapper"})//定时器
  18. @EnableDiscoveryClient
  19. @EnableFeignClients(basePackages = "com.steerinfo.dil.feign")
  20. public class DilApplicationMain {
  21. public static void main(String[] args) {
  22. SpringApplication.run(DilApplicationMain.class,args);
  23. }
  24. }