diff --git a/controller/message.go b/controller/message.go index 79ea62e..6d097a1 100644 --- a/controller/message.go +++ b/controller/message.go @@ -207,12 +207,12 @@ func SendMessageV2(c *gin.Context) { ws.OneKefuMessage(kefuInfo.Name, str) go ws.SendServerJiang(vistorInfo.Name+"说", content, c.Request.Host) go SendAppGetuiPush(kefuInfo.Name, vistorInfo.Name, content) - go ws.VisitorAutoReply(vistorInfo, kefuInfo, content) kefus, ok := ws.KefuList[kefuInfo.Name] if !ok || len(kefus) == 0 { log.Println("客服不在线,发送邮件通知") go SendNoticeEmail(content+"|"+vistorInfo.Name, content) } + go ws.VisitorAutoReply(vistorInfo, kefuInfo, content) c.JSON(200, gin.H{ "code": 200, "msg": "ok", diff --git a/static/html/index.html b/static/html/index.html index a9f15ed..807757d 100644 --- a/static/html/index.html +++ b/static/html/index.html @@ -20,10 +20,10 @@ - +