spring boot 异步多线程
1.在启动类中加入注解@EnableAsync启用异步@EnableAsync@SpringBootApplicationpublic class TestApplication { public static void main(String[] args) { ApplicationContext ctx = SpringApplication.run(Test...