From f7b0609f3afdc9fd59dfd2564bf1a6af227bac57 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Wed, 30 Nov 2022 14:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gird/shibei/api/impl/ShiBeiCityGridApiImpl.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/shibei-gird-sdk/src/main/java/com/elink/esua/epdc/gird/shibei/api/impl/ShiBeiCityGridApiImpl.java b/shibei-gird-sdk/src/main/java/com/elink/esua/epdc/gird/shibei/api/impl/ShiBeiCityGridApiImpl.java index 1563964..0ce707f 100644 --- a/shibei-gird-sdk/src/main/java/com/elink/esua/epdc/gird/shibei/api/impl/ShiBeiCityGridApiImpl.java +++ b/shibei-gird-sdk/src/main/java/com/elink/esua/epdc/gird/shibei/api/impl/ShiBeiCityGridApiImpl.java @@ -63,7 +63,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { public GridDto newSendInputInfo(SendInputInfoFormDto caseReportFormDto) { Map map = Maps.newHashMap(); map.put("srtXml", XstreamUtil.objectToXml(caseReportFormDto)); - LOGGER.info("strXml" + map.get("srtXml")); GridDto girdDto = this.requestGird(ApiConstants.newSendInputInfo, map, GridDto.class); if (girdDto == null) { LOGGER.error("案件上报失败,案件内部编号:{}", caseReportFormDto.getHotLinesn()); @@ -80,7 +79,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { json = json.replace("%", "%"); json = json.replace(ApiConstants.eventOssUrlBefore, ApiConstants.eventOssUrlAfter); String data = "content=" + json; - LOGGER.info("发送地址:" + ApiConstants.sendEventUrl + "||发送参数:"); HttpResponse response = null; try { response = HttpRequest.post(ApiConstants.sendEventUrl).body(data) @@ -90,7 +88,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { e.printStackTrace(); LOGGER.error("事件上报信息异常:" + e.getMessage()); } - LOGGER.info("事件上报返回数据:" + response.body()); JSONObject res = JSONObject.parseObject(response.body()); SendEventResultDto result = null; if (0 == Integer.parseInt(res.get("code").toString())) { @@ -115,7 +112,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { @Override public SendEventResultDto sendEventManual(String data) { data = "content=" + data; - LOGGER.info("发送地址:" + ApiConstants.sendEventUrl + "||发送参数:"); HttpResponse response = null; try { response = HttpRequest.post(ApiConstants.sendEventUrl).body(data) @@ -125,7 +121,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { e.printStackTrace(); LOGGER.error("事件上报信息异常:" + e.getMessage()); } - LOGGER.info("事件上报返回数据:" + response.body()); JSONObject res = JSONObject.parseObject(response.body()); SendEventResultDto result = null; if (0 == Integer.parseInt(res.get("code").toString())) { @@ -192,7 +187,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { @Override public EventProcessHisResultDto getHistoryByRecId(String recId) { String url = ApiConstants.historyUrl + "?recId=" + recId; - LOGGER.info("获取事件处理进度请求地址:" + url); HttpResponse response = null; try { response = HttpRequest.get(url) @@ -202,7 +196,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { e.printStackTrace(); LOGGER.error("获取事件处理进度异常:" + e.getMessage()); } - LOGGER.info("获取事件处理进度返回数据:" + response.body()); JSONObject res = JSONObject.parseObject(response.body()); EventProcessHisResultDto result = null; try { @@ -217,7 +210,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { @Override public List getBatchHistoryByRecIds(String recIds) { String url = ApiConstants.batchHistoryUrl + "?recIds=" + recIds; - LOGGER.info("获取事件处理进度请求地址:" + url); HttpResponse response = null; try { response = HttpRequest.get(url) @@ -227,7 +219,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { e.printStackTrace(); LOGGER.error("获取事件处理进度异常:" + e.getMessage()); } - LOGGER.info("获取事件处理进度返回数据:" + response.body()); JSONObject res = JSONObject.parseObject(response.body()); JSONArray dataList = JSONObject.parseArray(res.get("data").toString()); List results = new ArrayList<>(); @@ -245,7 +236,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { String json = JSONObject.toJSONString(rejectReDoDTO); json = json.replace(ApiConstants.eventOssUrlBefore, ApiConstants.eventOssUrlAfter); String data = "content=" + json; - LOGGER.info("发送地址:" + ApiConstants.sendEventUrl + "||发送参数:"); HttpResponse response = null; try { response = HttpRequest.post(ApiConstants.sendEventUrl).body(data) @@ -255,7 +245,6 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { e.printStackTrace(); LOGGER.error("事件驳回上报信息异常:" + e.getMessage()); } - LOGGER.info("事件驳回上报返回数据:" + response.body()); JSONObject res = JSONObject.parseObject(response.body()); EventRejectDoResultDto result = null; if (0 == Integer.parseInt(res.get("code").toString())) {