1、在SpringBoot 启动类上声明@EnableAsync 具体代码如下: package cn.lijunkui;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.scheduling.annotation.EnableAsync;@SpringBootApplication@EnableAsync //开启异步调用public class...