springboot任务并行执行+线程池(二)
将Future用Completable替换@PostMapping("/findInfo")public Map<String, Object> findInfo() { Map<String, Object> map = new HashMap<>(); CompletableFuture<List> userFuture = CompletableFutur