RuoYiApplication.java 1.3 KB

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