package com.gyt.shr;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.Configuration;

/**
 * @author coyle
 * @description 启动类
 */
//@SpringBootApplication(scanBasePackages = {"com.gyt.shr"})
@SpringBootApplication
public class FileAdminApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(FileAdminApplication.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(FileAdminApplication.class, args);
    }
}
