自动化立体仓库 - WCS系统
#
luxiaotao1123
2022-09-26 64da17c397d02f8b1d19b9c46134eb8469957c46
src/main/java/com/zy/Boot.java
@@ -4,13 +4,20 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableAsync;
@EnableAsync
@SpringBootApplication
public class Boot extends SpringBootServletInitializer {
    public static void main(String[] args) {
        RandomValidateCodeUtil.init();
        SpringApplication.run(Boot.class, args);
//        new Thread(()-> {
//            ServerBootstrap serverBootstrap = SpringUtils.getBean(ServerBootstrap.class);
//            serverBootstrap.init();
//        }).start();
    }
//    @Override