Commit a15626d5 by carrieyzzhang

limit channel campaignid query

parent 67643758
...@@ -943,6 +943,7 @@ public class EventServiceImpl implements EventService { ...@@ -943,6 +943,7 @@ public class EventServiceImpl implements EventService {
List<String> valueList = new ArrayList<>(set); List<String> valueList = new ArrayList<>(set);
if (attrName.equals("_cid") || attrName.equals("_campaignid")) {
String values = String.join(",", set); String values = String.join(",", set);
String url = Constant.trackingUrl + "/api/"+ appId +"/event/find/valuespecail?attrName=" + attrName + "&values=" + values; String url = Constant.trackingUrl + "/api/"+ appId +"/event/find/valuespecail?attrName=" + attrName + "&values=" + values;
String response = HttpClientUtil.doHttpGetRequest(url, "io"); String response = HttpClientUtil.doHttpGetRequest(url, "io");
...@@ -960,6 +961,9 @@ public class EventServiceImpl implements EventService { ...@@ -960,6 +961,9 @@ public class EventServiceImpl implements EventService {
} else { } else {
result.put("value", valueList); result.put("value", valueList);
} }
} else {
result.put("value", valueList);
}
} }
} else { } else {
......
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