Commit 8d302b5c by carrieyzzhang

url log

parent f7c53c43
...@@ -296,6 +296,8 @@ public class ComplicatedEventsServiceImpl implements ComplicateEventsService{ ...@@ -296,6 +296,8 @@ public class ComplicatedEventsServiceImpl implements ComplicateEventsService{
Map<String, List> responseJson = new HashMap<>(); Map<String, List> responseJson = new HashMap<>();
if (demoAppList.contains(app.getAppkey())) { if (demoAppList.contains(app.getAppkey())) {
String url = Constant.demoUrl + "/api/trackingio/eventstats/complicated/total/" + app.getAppkey(); String url = Constant.demoUrl + "/api/trackingio/eventstats/complicated/total/" + app.getAppkey();
System.out.println(url);
try { try {
String responseStr = HttpClientUtil.doHttpPostRequest(url, "trackingio", conditions); String responseStr = HttpClientUtil.doHttpPostRequest(url, "trackingio", conditions);
ObjectMapper mapper = new ObjectMapper(); ObjectMapper mapper = new ObjectMapper();
......
...@@ -67,7 +67,6 @@ public class EventReportCallable implements Callable<Map<String, List>> { ...@@ -67,7 +67,6 @@ public class EventReportCallable implements Callable<Map<String, List>> {
} else { } else {
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) {
......
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