fxfast-code/ruoyi-admin/src/main/java/com/ruoyi/RuoYiServletInitializer.java

19 lines
495 B
Java
Raw Normal View History

2019-10-08 01:14:38 +00:00
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);
}
}