告警平台对接

develop
guyuliang 2024-08-27 16:30:29 +08:00
parent 0bed3a8d60
commit d04c55602f
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ public class IndexServiceImpl implements IndexService {
log.info("result:" + result);
return new GeneralResult(false, "查询失败");
}
JSONObject data = jsonObject.getJSONObject("data");
List<JSONObject> data = JSONObject.parseObject(jsonObject.getString("data"), List.class);
return new GeneralResult(true, data, "查询成功");
} catch (Exception e) {
log.info("查询失败", e);