You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
495 B
18 lines
495 B
package com.ruoyi;
|
|
|
|
import org.springframework.boot.builder.SpringApplicationBuilder;
|
|
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
|
|
|
/**
|
|
* web容器中进行部署
|
|
*
|
|
* @author ruoyi
|
|
*/
|
|
public class RuoYiServletInitializer extends SpringBootServletInitializer
|
|
{
|
|
@Override
|
|
protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
|
|
{
|
|
return application.sources(RuoYiApplication.class);
|
|
}
|
|
}
|
|
|