BridgeApp.java 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package cn.com.qmth.examcloud.bridge;
  2. import cn.com.qmth.examcloud.web.bootstrap.AppBootstrap;
  3. import org.springframework.boot.autoconfigure.SpringBootApplication;
  4. import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
  5. import org.springframework.context.annotation.ComponentScan;
  6. import org.springframework.context.annotation.Configuration;
  7. /**
  8. * 启动类
  9. *
  10. * @author WANGWEI
  11. * @date 2019年10月12日
  12. * @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
  13. */
  14. @Configuration
  15. @ComponentScan(basePackages = {"cn.com.qmth"})
  16. @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
  17. public class BridgeApp {
  18. static {
  19. String runtimeLevel = System.getProperty("log.commonLevel");
  20. if (null == runtimeLevel) {
  21. System.setProperty("log.commonLevel", "INFO");
  22. }
  23. }
  24. /**
  25. * main
  26. *
  27. * @param args
  28. * @author WANGWEI
  29. */
  30. public static void main(String[] args) {
  31. AppBootstrap.run(BridgeApp.class, args);
  32. }
  33. }