FcbProjectManagerApplication.java 884 B

12345678910111213141516171819202122232425
  1. package fcb.project.manager;
  2. import org.mybatis.spring.annotation.MapperScan;
  3. import org.mybatis.spring.annotation.MapperScans;
  4. import org.springframework.boot.SpringApplication;
  5. import org.springframework.boot.autoconfigure.SpringBootApplication;
  6. import org.springframework.boot.context.ApplicationPidFileWriter;
  7. import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
  8. import org.springframework.context.annotation.ComponentScan;
  9. /**
  10. * @author abnerhou
  11. * @date 2021/1/5 12:25
  12. * @desciption
  13. */
  14. //@EnableFeignClients
  15. //@NacosPropertySource(dataId = "abner-test", autoRefreshed = true)
  16. @EnableDiscoveryClient
  17. @SpringBootApplication
  18. @MapperScan(basePackages = {"fcb.project.manager.base.dao"})
  19. public class FcbProjectManagerApplication {
  20. public static void main(String[] args) {
  21. SpringApplication.run(FcbProjectManagerApplication.class , args);
  22. }
  23. }