From 6851d1d8171ee4bba7cbd8148d9479ccbcbb628b Mon Sep 17 00:00:00 2001
From: "630892807@qq.com" <630892807@qq.com>
Date: Sun, 14 Mar 2021 19:09:45 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E5=A4=8D=E4=BF=A1=E6=81=AF=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
controller/message.go | 2 +-
static/html/index.html | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
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 @@
-
+