| | |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; |
| | | import org.springframework.scheduling.annotation.EnableAsync; |
| | | import org.springframework.scheduling.annotation.EnableScheduling; |
| | | |
| | | @EnableScheduling |
| | | @EnableAsync |
| | | @SpringBootApplication |
| | | public class Boot extends SpringBootServletInitializer { |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | RandomValidateCodeUtil.init(); |
| | | SpringApplication.run(Boot.class, args); |