springboot项目异步执行@Async
springboot项目异步执行@Async在启动类上加上**@EnableAsync**注解@SpringBootApplication**@EnableAsync**public class DemotestApplication { public static void main(String[] args) { SpringApplication.run(DemotestApplication.class, args); }}要异步执行的方法@Se
原创
2021-07-23 16:02:48 ·
148 阅读 ·
2 评论