This commit is contained in:
parent
441b0a52aa
commit
5b21458e0d
|
@ -3,6 +3,8 @@ var symptomName = last_month_day();
|
|||
$(function(){
|
||||
|
||||
//更新抓取信息
|
||||
setInterval(function(){
|
||||
|
||||
$.ajax('/myapp/api/crawl_info.json').done(function(data){
|
||||
console.log(data);
|
||||
$('#crawl_info_total_count').html(data.total_count);
|
||||
|
@ -21,6 +23,8 @@ $(function(){
|
|||
$('#tasks_count').html(data.tasks);
|
||||
});
|
||||
|
||||
}, 1500);
|
||||
|
||||
|
||||
init();
|
||||
init2();
|
||||
|
|
Loading…
Reference in New Issue