自动化立体仓库 - WMS系统
野心家
2023-06-20 5ce6bfb2e237b9fbf092a03cf80e86d928ac7ca6
src/main/java/com/zy/Boot.java
@@ -5,7 +5,9 @@
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;
@EnableScheduling
@SpringBootApplication
public class Boot extends SpringBootServletInitializer {
@@ -16,6 +18,7 @@
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        RandomValidateCodeUtil.init();
        return builder.sources(Boot.class);
    }