fix: 修复异步方法启动的问题
This commit is contained in:
parent
ade3fe2043
commit
bf13f09322
|
@ -6,7 +6,7 @@ import org.springframework.core.task.AsyncTaskExecutor;
|
|||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
||||
|
||||
@EnableAsync
|
||||
@EnableAsync(proxyTargetClass = true)
|
||||
@Configuration
|
||||
public class AsyncConfig {
|
||||
|
||||
|
|
Loading…
Reference in New Issue