RuoYiSystemApplication.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.usky.system;
  2. import org.mybatis.spring.annotation.MapperScan;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.cloud.openfeign.EnableFeignClients;
  6. import org.springframework.context.annotation.ComponentScan;
  7. import org.springframework.context.annotation.EnableAspectJAutoProxy;
  8. /**
  9. * 系统模块
  10. *
  11. * @author ruoyi
  12. */
  13. @EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
  14. @EnableFeignClients(basePackages = {"com.usky"})
  15. @MapperScan(value = "com.usky.system.mapper")
  16. @ComponentScan(basePackages = {"com.usky"})
  17. @SpringBootApplication
  18. public class RuoYiSystemApplication
  19. {
  20. public static void main(String[] args)
  21. {
  22. SpringApplication.run(RuoYiSystemApplication.class, args);
  23. System.out.println("(♥◠‿◠)ノ゙ 永天系统模块启动成功 ლ(´ڡ`ლ)゙ \n" +
  24. " .-------. ____ __ \n" +
  25. " | _ _ \\ \\ \\ / / \n" +
  26. " | ( ' ) | \\ _. / ' \n" +
  27. " |(_ o _) / _( )_ .' \n" +
  28. " | (_,_).' __ ___(_ o _)' \n" +
  29. " | |\\ \\ | || |(_,_)' \n" +
  30. " | | \\ `' /| `-' / \n" +
  31. " | | \\ / \\ / \n" +
  32. " ''-' `'-' `-..-' ");
  33. }
  34. }