什么是一部任务和使用场景:适用于处理log、发送邮件、短信...等
启动类里面使用@EnableAsync注解开启功能,自动扫描
定义异步任务类并使用@Component标记组件被容器扫描,异步方法加上@Async
TestController.java
测试