RuoYiApplication.java 1.4 KB

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