长时间未发送关闭

pull/23/head
taoshihan1991 4 years ago
parent 177c5e8a23
commit fb2c4b34d6

@ -133,7 +133,7 @@
cursor: pointer;
}
#layui-layer19911116{
display: none;
/*display: none;*/
}
.launchPointer{
background: #3cc51f;

@ -150,7 +150,7 @@ GOFLY.getNotice=function(){
_this.kefuAvator=res.result.avatar;
_this.kefuName=res.result.username;
_this.chatPageTitle+="<img src='"+_this.GOFLY_URL+res.result.avatar+"' class='flyAvatar'>"+res.result.username;
if(_this.GOFLY_AUTO_OPEN&&_this.isIE()<=0){
if(_this.GOFLY_AUTO_OPEN&&res.result.status=='online'&&_this.isIE()<=0){
_this.showKefu();
$(".launchButtonBox").show();
_this.launchButtonFlag=false;

@ -174,7 +174,6 @@ func VisitorAutoReply(vistorInfo models.Visitor, kefuInfo models.User, content s
}
func cleanVisitorExpire() {
go func() {
return
log.Println("cleanVisitorExpire start...")
for {
for _, user := range ClientList {
@ -192,8 +191,7 @@ func cleanVisitorExpire() {
log.Println(user.Name + ":cleanVisitorExpire finshed")
}
}
// 计算下一个零点
t := time.NewTimer(time.Second * 10)
t := time.NewTimer(time.Second * 5)
<-t.C
}
}()

Loading…
Cancel
Save