...
This commit is contained in:
parent
e12f4f0a62
commit
75683440de
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue