修改流量统计日志级别为debug,新增更新协议类型码表sql,流量统计超时时间设置为1分钟

This commit is contained in:
zhanghongqing
2018-12-10 21:30:58 +08:00
parent c13038c8eb
commit 8a365ca749
5 changed files with 219 additions and 42 deletions

View File

@@ -419,7 +419,7 @@ function ajaxinfo(){
url:'${ctx}/dashboard/traffic/info',
type : "get" ,
dataType:'json',
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
success:function (data){
var loopConnNum =loopConnNum= data.loopConnNum;
var rejectNum =data.rejectNum;
@@ -545,7 +545,7 @@ function protocolList(){
url: '${ctx}/dashboard/protocol',
type : "get" ,
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
success:function (rs) {
if(rs!=null&&rs.length>0&&rs[0].error!=null){
top.$.jBox.tip("<spring:message code='request_service_failed'/>", "<spring:message code='info'/>");
@@ -568,7 +568,7 @@ function ipActiveList(){
url: '${ctx}/dashboard/ipActive',
type : "get" ,
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
success:function (rs) {
if(rs!=null&&rs.length>0&&rs[0].error!=null){
top.$.jBox.tip("<spring:message code='request_service_failed'/>", "<spring:message code='info'/>");
@@ -591,7 +591,7 @@ function portActiveList(){
url: '${ctx}/dashboard/portActive',
type : "get" ,
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
beforeSend: function () {
var msg = "OnLoading...";
@@ -651,7 +651,7 @@ function appTypeList(){
url: '${ctx}/dashboard/app',
type : "get" ,
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
success:function (rs) {
if(rs!=null&&rs.length>0&&rs[0].error!=null){
top.$.jBox.tip("<spring:message code='request_service_failed'/>", "<spring:message code='info'/>");
@@ -674,7 +674,7 @@ function systemList(){
url: '${ctx}/dashboard/osList',
type : "get" ,
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
beforeSend: function () {
var msg = "OnLoading...";
@@ -749,7 +749,7 @@ function osClick(osType,obj){
type : "get" ,
data:{"osType":osType},
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
success:function (rs) {
echart_5(rs);
@@ -770,7 +770,7 @@ function bsClick(bsType,obj){
type : "get" ,
data:{"bsType":bsType},
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
success:function (rs) {
echart_2(rs);
@@ -790,7 +790,7 @@ function browserList() {
url: '${ctx}/dashboard/bsList',
type : "get" ,
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
beforeSend: function () {
var msg = "OnLoading...";
var trLen = $("#tbodyData1 tr").length;
@@ -854,7 +854,7 @@ function websiteList() {
url: '${ctx}/dashboard/websiteList',
type : "get" ,
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
beforeSend: function () {
var msg = "OnLoading...";
var trLen = $("#tbodyData2 tr").length;
@@ -923,7 +923,7 @@ function webClick(websiteServiceId,obj){
type : "get" ,
data:{"websiteServiceId":websiteServiceId},
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
success:function (rs) {
echart_6(rs);
closeTip();
@@ -940,7 +940,7 @@ function topicAndDomainList(){
url: '${ctx}/dashboard/topicAndDomainList',
type : "get" ,
dataType:"json",
cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时
cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时
success:function (rs) {
//主题域名流量统计图
echart_topic_domain(rs);