支付宝插件 , 更换地图 , 支付订单入账佣金账号

This commit is contained in:
2026-03-25 15:24:30 +08:00
parent 1c593d1dfb
commit b355f0364c
150 changed files with 10846 additions and 265 deletions

View File

@@ -25,4 +25,29 @@ public class AsyncConfiguration {
return executor;
}
@Bean("paymentAsyncExecutor")
public ThreadPoolTaskExecutor paymentAsyncExecutor() {
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
executor.setCorePoolSize(6);
executor.setMaxPoolSize(12);
executor.setQueueCapacity(200);
executor.setThreadNamePrefix("pay-");
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
executor.initialize();
return executor;
}
@Bean("statsCommissionAsyncExecutor")
public ThreadPoolTaskExecutor statsCommissionAsyncExecutor() {
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
executor.setCorePoolSize(6);
executor.setMaxPoolSize(12);
executor.setQueueCapacity(200);
executor.setThreadNamePrefix("stats-commission-");
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
executor.initialize();
return executor;
}
}