RuoYiApplication.java 1.3 KB

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