告警平台对接
parent
0bed3a8d60
commit
d04c55602f
|
@ -185,7 +185,7 @@ public class IndexServiceImpl implements IndexService {
|
||||||
log.info("result:" + result);
|
log.info("result:" + result);
|
||||||
return new GeneralResult(false, "查询失败");
|
return new GeneralResult(false, "查询失败");
|
||||||
}
|
}
|
||||||
JSONObject data = jsonObject.getJSONObject("data");
|
List<JSONObject> data = JSONObject.parseObject(jsonObject.getString("data"), List.class);
|
||||||
return new GeneralResult(true, data, "查询成功");
|
return new GeneralResult(true, data, "查询成功");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.info("查询失败", e);
|
log.info("查询失败", e);
|
||||||
|
|
Loading…
Reference in New Issue