修复促销优惠券获取时,活动优惠券查询问题

This commit is contained in:
paulGao
2022-01-21 19:01:02 +08:00
parent 27e82423f0
commit d5fdc47936
4 changed files with 40 additions and 34 deletions

View File

@@ -23,8 +23,7 @@ public class ManagerApiApplication {
@Primary
@Bean
public TaskExecutor primaryTask() {
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
return executor;
return new ThreadPoolTaskExecutor();
}
public static void main(String[] args) {