diff --git a/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsInfoController.java b/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsInfoController.java index b3e32c032..c643b11a2 100644 --- a/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsInfoController.java +++ b/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsInfoController.java @@ -271,7 +271,10 @@ public class TrafficStatisticsInfoController extends BaseController { try { url=urlAddDate(url,beginDate,endDate); url=url+"&searchQuotaType="+searchQuotaType; - url=url+"&searchDirection="+searchDirection; + + if (!StringUtil.isEmpty(searchDirection)) { + url=url+"&searchDirection="+searchDirection; + } String string = HttpClientUtil.get(url); Gson gson = new GsonBuilder().create(); fromJsonList = gson.fromJson(string, new TypeToken(){}.getType()); @@ -321,7 +324,9 @@ public class TrafficStatisticsInfoController extends BaseController { if(entranceId!=null){ url=url+"&entranceId="+entranceId; } - url=url+"&searchDirection="+searchDirection; + if (!StringUtil.isEmpty(searchDirection)) { + url=url+"&searchDirection="+searchDirection; + } String string = HttpClientUtil.get(url); Gson gson = new GsonBuilder().create(); fromJsonList = gson.fromJson(string, new TypeToken(){}.getType()); diff --git a/src/main/webapp/WEB-INF/views/dashboard/trafficBandwidthList.jsp b/src/main/webapp/WEB-INF/views/dashboard/trafficBandwidthList.jsp index 715393710..0f1b35524 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/trafficBandwidthList.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/trafficBandwidthList.jsp @@ -54,6 +54,7 @@ <%-- --%> + diff --git a/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp b/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp index 51d9a3323..fcbfbf920 100644 --- a/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp @@ -408,8 +408,37 @@ ${log.dSubscribeId} <%-- ${log.userRegion} --%> ${log.sceneFile} - ${log.reqBody} - ${log.respBody} +<%-- ${log.reqBody} --%> +<%-- ${log.respBody} --%> + + + + ${fn:substring(log.reqBody,0,20) } + + + + + http://${fn:substring(log.reqBody,0,20) } + + + + + + + + ${fn:substring(log.respBody,0,20) } + + + + + http://${fn:substring(log.respBody,0,20) } + + +