自动化立体仓库 - WMS系统
skyouc
7 天以前 786c173ee8cc72843b6365e7adebe86e06935f7b
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);
    }