Authored by qinchao

search的服务监控

... ... @@ -306,7 +306,6 @@
}
var refreshJavaAppStatus = function () {
console.log("refresh status");
if (table_data == null || table_data.rows == undefined)
return;
$.each(table_data.rows, function (idx, val) {
... ... @@ -328,10 +327,15 @@
});
});
}
//console.log("refresh status"+JSON.stringify(reqList));
//每行就去获取,缩短整个表请求时间
$.ajax({
url: contextPath + "/javaApi/status?list=" + JSON.stringify(reqList),
type: 'get',
url: contextPath + "/javaApi/status",
type: 'post',
data:{
list: JSON.stringify(reqList)
},
success: function (data) {
// console.log(data);
if (!data || data.code != 200) {
... ... @@ -343,7 +347,7 @@
})
},
error: function (data) {
$.toaster('获取java服务状态失败', '警告', 'warning');
$.toaster('获取java服务状态失败error', '警告', 'warning');
}
});
... ...