feat(ProxyIp): implement proxy IP management service with API integration and scheduling

This commit is contained in:
2025-10-15 22:45:50 +08:00
parent 5f38b62373
commit a15709acaf

View File

@@ -127,7 +127,15 @@ public class MtjywpmDataListener {
return;
}
list.forEach(e -> sendIfMatch(e, sysId, jsonNode));
list.forEach(
e -> {
try {
sendIfMatch(e, sysId, jsonNode);
} catch (Exception exception) {
log.error("notify subscriber error {} {}", e.getName(), sysId, exception);
}
});
}
@SneakyThrows
@@ -137,8 +145,10 @@ public class MtjywpmDataListener {
CommonQuery commonQuery = new CommonQuery();
commonQuery.setItems(new ArrayList<>(objectMapper.readValue(queryJson, new TypeReference<List<CommonQuery.QueryItem>>() {
})));
commonQuery.setItems(
new ArrayList<>(
objectMapper.readValue(
queryJson, new TypeReference<List<CommonQuery.QueryItem>>() {})));
commonQuery
.getItems()
.add(