This commit is contained in:
guange 2019-01-22 14:43:23 +08:00
parent 441b0a52aa
commit 5b21458e0d
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,8 @@ var symptomName = last_month_day();
$(function(){ $(function(){
//更新抓取信息 //更新抓取信息
setInterval(function(){
$.ajax('/myapp/api/crawl_info.json').done(function(data){ $.ajax('/myapp/api/crawl_info.json').done(function(data){
console.log(data); console.log(data);
$('#crawl_info_total_count').html(data.total_count); $('#crawl_info_total_count').html(data.total_count);
@ -21,6 +23,8 @@ $(function(){
$('#tasks_count').html(data.tasks); $('#tasks_count').html(data.tasks);
}); });
}, 1500);
init(); init();
init2(); init2();