From 4f16ca047cf957bcd6d1ba51d4a8bb4c21db0f18 Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Tue, 23 Feb 2021 17:59:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8F=98=E8=81=8A=E5=A4=A9=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/visitor.go | 1 + static/js/gofly-front.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/controller/visitor.go b/controller/visitor.go index 99f8e15..94a9a1a 100644 --- a/controller/visitor.go +++ b/controller/visitor.go @@ -118,6 +118,7 @@ func PostVisitorLogin(c *gin.Context) { go SendNoticeEmail(visitor.Name, "来了") go SendAppGetuiPush(kefuInfo.Name, visitor.Name, visitor.Name+"来了") go SendVisitorLoginNotice(kefuInfo.Name, visitor.Name, visitor.Avator, visitor.Name+"来了") + go ws.VisitorOnline(kefuInfo.Name, visitor) go SendServerJiang(visitor.Name, "来了", c.Request.Host) c.JSON(200, gin.H{ diff --git a/static/js/gofly-front.js b/static/js/gofly-front.js index 7cc8ff4..6518be2 100644 --- a/static/js/gofly-front.js +++ b/static/js/gofly-front.js @@ -190,7 +190,7 @@ GOFLY.layerOpen=function (){ title: this.chatPageTitle, closeBtn: 1, //不显示关闭按钮 shade: 0, - area: ['520px', '530px'], + area: ['400px', '530px'], offset: 'rb', //右下角弹出 anim: 2, content: [this.GOFLY_URL+'/chatIndex?kefu_id='+this.GOFLY_KEFU_ID+'&lang='+this.GOFLY_LANG+'&refer='+window.document.title+'&extra='+this.GOFLY_EXTRA , 'yes'], //iframe的url,no代表不显示滚动条