|
@@ -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,
|