This commit is contained in:
wangliwen 2022-06-22 13:54:47 +08:00
parent e12f4f0a62
commit 75683440de
1 changed files with 4 additions and 4 deletions

View File

@ -347,10 +347,10 @@ public class CensusControllerV2 {
result_.add(jsonObject.getJSONObject("data").getLongValue("total")); result_.add(jsonObject.getJSONObject("data").getLongValue("total"));
} }
} else { } else {
logger.error("包头获取失败"); logger.error("青岛西海岸获取失败");
} }
} catch (Exception exception) { } catch (Exception exception) {
logger.error("包头失败", exception); logger.error("青岛西海岸失败", exception);
} }
}); });
CompletableFuture local = CompletableFuture local =
@ -366,10 +366,10 @@ public class CensusControllerV2 {
result_.add(jsonObject.getJSONObject("data").getLongValue("total")); result_.add(jsonObject.getJSONObject("data").getLongValue("total"));
} }
} else { } else {
logger.error("包头获取失败"); logger.error("青岛西海岸获取失败");
} }
} catch (Exception exception) { } catch (Exception exception) {
logger.error("包头失败", exception); logger.error("青岛西海岸失败", exception);
} }
}); });
CompletableFuture.allOf(cloud, local); CompletableFuture.allOf(cloud, local);