修复促销优惠券获取时,活动优惠券查询问题
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user