|
|
@ -1,15 +1,9 @@
|
|
|
|
package com.ruoyi;
|
|
|
|
package com.ruoyi;
|
|
|
|
|
|
|
|
|
|
|
|
import org.apache.catalina.Context;
|
|
|
|
|
|
|
|
import org.apache.catalina.connector.Connector;
|
|
|
|
|
|
|
|
import org.apache.tomcat.util.descriptor.web.SecurityCollection;
|
|
|
|
|
|
|
|
import org.apache.tomcat.util.descriptor.web.SecurityConstraint;
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|
|
|
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
|
|
|
|
|
|
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
|
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 启动程序
|
|
|
|
* 启动程序
|
|
|
|