Browse Source

报警预警连接地址修改

王波 1 month ago
parent
commit
c0a7ed75b3

+ 2 - 2
runeconomy-xk/src/main/java/com/gyee/runeconomy/service/EarlyWarning/ApiClient.java

@@ -13,7 +13,7 @@ public class ApiClient {
     public String getDataFromApi(String begin, String end, String deviceId, String modelId, String deviceType, String alarmIds, String timeType) {
         try {
             // 构建 URL
-            String baseUrl = "http://10.220.1.11:6015/alarm/history/findCtFeatureStatByWtId";
+            String baseUrl = "http://10.220.1.5:6015/alarm/history/findCtFeatureStatByWtId";
             String charset = StandardCharsets.UTF_8.name();  // 获取字符集名称
             String url = String.format("%s?begin=%s&end=%s&deviceid=%s&modelId=%s&deviceType=%s&alarmIds=%s&timeType=%s",
                     baseUrl,
@@ -43,7 +43,7 @@ public class ApiClient {
                                String deviceType,String components, String alarmId, String isclose, String pageNum,String pageSize) {
         try {
             // 构建 URL
-            String baseUrl = "http://10.220.1.11:6015/alarm/history/findAlarmlist";
+            String baseUrl = "http://10.220.1.5:6015/alarm/history/findAlarmlist";
             String charset = StandardCharsets.UTF_8.name();  // 获取字符集名称
             String url = String.format("%s?begin=%s&end=%s&alarmType=%s&stationid=%s&deviceid=%s&description=%s&modelId=%s&deviceType=%s&components=%s&alarmId=%s&isclose=%s&pageNum=%s&pageSize=%s",
                     baseUrl,