自动化立体仓库 - WMS系统
zhangc
2025-01-08 617a8c4fc0b81ec4b96db8a013a91f4e666b0b96
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);
    }