RuoYiApplication.java 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. package com.ruoyi;
  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.Lazy;
  6. /**
  7. * 启动程序
  8. *
  9. * @author ruoyi
  10. */
  11. @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
  12. public class RuoYiApplication
  13. {
  14. public static void main(String[] args)
  15. {
  16. // System.setProperty("spring.devtools.restart.enabled", "false");
  17. SpringApplication.run(RuoYiApplication.class, args);
  18. System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
  19. " .-------. ____ __ \n" +
  20. " | _ _ \\ \\ \\ / / \n" +
  21. " | ( ' ) | \\ _. / ' \n" +
  22. " |(_ o _) / _( )_ .' \n" +
  23. " | (_,_).' __ ___(_ o _)' \n" +
  24. " | |\\ \\ | || |(_,_)' \n" +
  25. " | | \\ `' /| `-' / \n" +
  26. " | | \\ / \\ / \n" +
  27. " ''-' `'-' `-..-' ");
  28. }
  29. }