告警平台对接
parent
f27daac6fa
commit
da98117b51
|
@ -150,7 +150,8 @@ public class IndexServiceImpl implements IndexService {
|
|||
log.info("result:" + result);
|
||||
return new GeneralResult(false, "查询失败");
|
||||
}
|
||||
return new GeneralResult(true, jsonObject, "查询成功");
|
||||
JSONObject data = jsonObject.getJSONObject("data");
|
||||
return new GeneralResult(true, data, "查询成功");
|
||||
} catch (Exception e) {
|
||||
log.info("查询失败", e);
|
||||
return new GeneralResult(false, "查询失败");
|
||||
|
@ -167,7 +168,8 @@ public class IndexServiceImpl implements IndexService {
|
|||
log.info("result:" + result);
|
||||
return new GeneralResult(false, "查询失败");
|
||||
}
|
||||
return new GeneralResult(true, jsonObject, "查询成功");
|
||||
JSONObject data = jsonObject.getJSONObject("data");
|
||||
return new GeneralResult(true, data, "查询成功");
|
||||
} catch (Exception e) {
|
||||
log.info("查询失败", e);
|
||||
return new GeneralResult(false, "查询失败");
|
||||
|
@ -183,7 +185,8 @@ public class IndexServiceImpl implements IndexService {
|
|||
log.info("result:" + result);
|
||||
return new GeneralResult(false, "查询失败");
|
||||
}
|
||||
return new GeneralResult(true, jsonObject, "查询成功");
|
||||
JSONObject data = jsonObject.getJSONObject("data");
|
||||
return new GeneralResult(true, data, "查询成功");
|
||||
} catch (Exception e) {
|
||||
log.info("查询失败", e);
|
||||
return new GeneralResult(false, "查询失败");
|
||||
|
|
Loading…
Reference in New Issue