增加国际化文件
This commit is contained in:
@@ -451,8 +451,7 @@ public class TrafficStatisticsInfoController extends BaseController {
|
|||||||
Map<String, Object> fromJsonList = new HashMap<String, Object>();
|
Map<String, Object> fromJsonList = new HashMap<String, Object>();
|
||||||
List list = new ArrayList();
|
List list = new ArrayList();
|
||||||
try {
|
try {
|
||||||
// String url=Constants.DASHBOARD_URL+Constants.TRAFFIC_IPACTIVE_ONEHOUR;
|
String url=Constants.DASHBOARD_URL+Constants.TRAFFIC_DOMAIN_TRANS;
|
||||||
String url = "http://localhost:8088/galaxy-service/service/log/v1/trafficDomainTrans";
|
|
||||||
url=urlAddDate(url, beginDate, endDate);
|
url=urlAddDate(url, beginDate, endDate);
|
||||||
if(domain!=null){
|
if(domain!=null){
|
||||||
url=url+"&domain="+domain;
|
url=url+"&domain="+domain;
|
||||||
@@ -482,7 +481,6 @@ public class TrafficStatisticsInfoController extends BaseController {
|
|||||||
Map<String, Object> fromJsonList = new HashMap<String, Object>();
|
Map<String, Object> fromJsonList = new HashMap<String, Object>();
|
||||||
List list = new ArrayList();
|
List list = new ArrayList();
|
||||||
String url = Constants.DASHBOARD_URL+Constants.TRAFFIC_WEBSITELIST_NOTIME;
|
String url = Constants.DASHBOARD_URL+Constants.TRAFFIC_WEBSITELIST_NOTIME;
|
||||||
// String url = "http://192.168.11.87:8088/galaxy-service/service/log/v1/"+Constants.TRAFFIC_WEBSITELIST;
|
|
||||||
try {
|
try {
|
||||||
if(StringUtil.isBlank(beginDate)||StringUtil.isBlank(endDate)){
|
if(StringUtil.isBlank(beginDate)||StringUtil.isBlank(endDate)){
|
||||||
Calendar cal = Calendar. getInstance ();
|
Calendar cal = Calendar. getInstance ();
|
||||||
@@ -579,8 +577,6 @@ public class TrafficStatisticsInfoController extends BaseController {
|
|||||||
Map<String, Object> fromJsonList = new HashMap<String, Object>();
|
Map<String, Object> fromJsonList = new HashMap<String, Object>();
|
||||||
List list = new ArrayList();
|
List list = new ArrayList();
|
||||||
String url = Constants.DASHBOARD_URL+Constants.TRAFFIC_TOPICLIST;
|
String url = Constants.DASHBOARD_URL+Constants.TRAFFIC_TOPICLIST;
|
||||||
//String url = "http://192.168.11.87:8088/galaxy-service/service/log/v1/"+Constants.TRAFFIC_TOPIC_AND_DOMAIN_CHART;
|
|
||||||
//String url = "http://192.168.11.87:8088/galaxy-service/service/log/v1/"+Constants.TRAFFIC_TOPICLIST;
|
|
||||||
Map map=new HashMap();
|
Map map=new HashMap();
|
||||||
try {
|
try {
|
||||||
url=urlAddDate(url,beginDate,endDate);
|
url=urlAddDate(url,beginDate,endDate);
|
||||||
|
|||||||
@@ -1409,4 +1409,5 @@ asn=asn
|
|||||||
Unique_num=Unique
|
Unique_num=Unique
|
||||||
ip=IP
|
ip=IP
|
||||||
country=Country
|
country=Country
|
||||||
desc=Desc
|
desc=Desc
|
||||||
|
unique_num=Unique
|
||||||
@@ -1413,4 +1413,5 @@ asn=asn
|
|||||||
Unique_num=Unique
|
Unique_num=Unique
|
||||||
ip=IP
|
ip=IP
|
||||||
country=Country
|
country=Country
|
||||||
desc=Desc
|
desc=Desc
|
||||||
|
unique_num=Unique
|
||||||
@@ -1409,4 +1409,5 @@ asn=asn
|
|||||||
Unique_num=Unique
|
Unique_num=Unique
|
||||||
ip=IP
|
ip=IP
|
||||||
country=Country
|
country=Country
|
||||||
desc=Desc
|
desc=Desc
|
||||||
|
unique_num=Unique
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<select id="entranceId" name="entranceId" class="selectpicker form-control" width="100px" data-live-search="true" data-live-search-placeholder="search">
|
<select id="entranceId" name="entranceId" class="selectpicker form-control" width="100px" data-live-search="true" data-live-search-placeholder="search">
|
||||||
<option value=""><spring:message code="select"/></option>
|
<option value=""><spring:message code="select"/></option>
|
||||||
<c:forEach items="${fns:getDictList('AREA_NAME')}" var="dict" >
|
<c:forEach items="${fns:getDictList('ENTRANCE')}" var="dict" >
|
||||||
<option value="${dict.itemCode}"><spring:message code="${dict.itemValue}"></spring:message></option>
|
<option value="${dict.itemCode}"><spring:message code="${dict.itemValue}"></spring:message></option>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</select>
|
</select>
|
||||||
@@ -341,7 +341,7 @@
|
|||||||
var html = '<tr onclick="searchByDomain(\''+data.webId+'\',\''+data.website+'\')">';
|
var html = '<tr onclick="searchByDomain(\''+data.webId+'\',\''+data.website+'\')">';
|
||||||
html += "<td class='tc'>" + data.website + "</td>";
|
html += "<td class='tc'>" + data.website + "</td>";
|
||||||
html += "<td class='tc'>" + data.uniqueNum + "</td>";
|
html += "<td class='tc'>" + data.uniqueNum + "</td>";
|
||||||
html += "<td class='tc'>" + data.entranceId + "</td>";
|
html += "<td class='tc'>" + (((data.entranceId)==1) ? "Astana":"Alamty") + "</td>";
|
||||||
html += "<td class='tc'>" + data.pktCount + "</td>";
|
html += "<td class='tc'>" + data.pktCount + "</td>";
|
||||||
html += "<td class='tc'>" + data.perPackets + "</td>";
|
html += "<td class='tc'>" + data.perPackets + "</td>";
|
||||||
html += "<td class='tc'>" + data.Gbyte + "</td>";
|
html += "<td class='tc'>" + data.Gbyte + "</td>";
|
||||||
|
|||||||
Reference in New Issue
Block a user