添加新接口

This commit is contained in:
tangshuangpku@hotmail.com 2016-06-07 16:53:44 +08:00
parent acf93ecf4c
commit 23169d687a
1 changed files with 2 additions and 1 deletions

View File

@ -265,7 +265,7 @@
var notifies = data.data; var notifies = data.data;
var cnt = notifies.length; var cnt = notifies.length;
$('#notificationIcon').empty(); $('#notificationIcon').find('span').remove();
$('#notificationList').empty(); $('#notificationList').empty();
if(cnt != 0) { if(cnt != 0) {
@ -288,6 +288,7 @@
} }
$(document).ready(function(){ $(document).ready(function(){
$.ajax(ajaxCfg);
var refresh = setInterval(function(){ var refresh = setInterval(function(){
$.ajax(ajaxCfg); $.ajax(ajaxCfg);
}, 10000); }, 10000);