RuoYiApplication.java 1.2 KB

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