AgileBooApiApplication.java 1.8 KB

1234567891011121314151617181920212223242526272829303132
  1. package com.agileboot.api;
  2. import org.springframework.boot.SpringApplication;
  3. import org.springframework.boot.autoconfigure.SpringBootApplication;
  4. import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
  5. import org.springframework.context.annotation.ComponentScan;
  6. /**
  7. * 启动程序 定制banner.txt的网站
  8. * <a href="http://patorjk.com/software/taag">http://patorjk.com/software/taag</a>
  9. * <a href="http://www.network-science.de/ascii/">http://www.network-science.de/ascii/</a>
  10. * <a href="http://www.degraeve.com/img2txt.php">http://www.degraeve.com/img2txt.php</a>
  11. * <a href="http://life.chacuo.net/convertfont2char">http://life.chacuo.net/convertfont2char</a>
  12. *
  13. * @author valarchie
  14. */
  15. @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
  16. @ComponentScan(basePackages = "com.agileboot.*")
  17. public class AgileBooApiApplication {
  18. public static void main(String[] args) {
  19. SpringApplication.run(AgileBooApiApplication.class, args);
  20. String successMsg = " ____ _ _ __ _ _ \n"
  21. + " / ___| | |_ __ _ _ __ | |_ _ _ _ __ ___ _ _ ___ ___ ___ ___ ___ / _| _ _ | || |\n"
  22. + " \\___ \\ | __|/ _` || '__|| __| | | | || '_ \\ / __|| | | | / __|/ __|/ _ \\/ __|/ __|| |_ | | | || || |\n"
  23. + " ___) || |_| (_| || | | |_ | |_| || |_) | \\__ \\| |_| || (__| (__| __/\\__ \\\\__ \\| _|| |_| || ||_|\n"
  24. + " |____/ \\__|\\__,_||_| \\__| \\__,_|| .__/ |___/ \\__,_| \\___|\\___|\\___||___/|___/|_| \\__,_||_|(_)\n"
  25. + " |_| ";
  26. System.out.println(successMsg);
  27. }
  28. }