泥头车工坊:修订间差异

第39行: 第39行:


<syntaxhighlight lang="javascript" line="1">
<syntaxhighlight lang="javascript" line="1">
myid = profile.id
postt=()=>{$.post("#",{message:"keepalive",to:""+profile.id})}
 
setInterval(postt,1200000)
function Keepalive(){
   $.post("#",{message:"keepalive",to:""+myid})  
}
Keepalive();
setInterval(function(){
   Keepalive();
},1200000)
</syntaxhighlight>
</syntaxhighlight>


203

个编辑