Commit 19c406e4 by carrieyzzhang

response log

parent 8d302b5c
...@@ -300,6 +300,7 @@ public class ComplicatedEventsServiceImpl implements ComplicateEventsService{ ...@@ -300,6 +300,7 @@ public class ComplicatedEventsServiceImpl implements ComplicateEventsService{
System.out.println(url); System.out.println(url);
try { try {
String responseStr = HttpClientUtil.doHttpPostRequest(url, "trackingio", conditions); String responseStr = HttpClientUtil.doHttpPostRequest(url, "trackingio", conditions);
System.out.println(responseStr);
ObjectMapper mapper = new ObjectMapper(); ObjectMapper mapper = new ObjectMapper();
responseJson = mapper.readValue(responseStr, Map.class); responseJson = mapper.readValue(responseStr, Map.class);
} catch (Exception e) { } catch (Exception e) {
......
...@@ -57,7 +57,6 @@ public class EventReportCallable implements Callable<Map<String, List>> { ...@@ -57,7 +57,6 @@ public class EventReportCallable implements Callable<Map<String, List>> {
@Override @Override
public Map<String, List> call() throws Exception { public Map<String, List> call() throws Exception {
System.out.println(this.url);
if(null != conditions){ if(null != conditions){
Map<String, List> responseJson = new HashMap<>(); Map<String, List> responseJson = new HashMap<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment