From 20c5bcb85f4b5f5dd48ee96dcb69b992b9189fa7 Mon Sep 17 00:00:00 2001 From: taoshihan <630892807@qq.com> Date: Tue, 7 Jun 2022 22:23:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E9=94=99=E5=85=B3=E9=97=AD=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/templates/chat_page.html | 1 - ws/user.go | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/templates/chat_page.html b/static/templates/chat_page.html index a93dc32..f26a34d 100644 --- a/static/templates/chat_page.html +++ b/static/templates/chat_page.html @@ -4,7 +4,6 @@ - GO语言开源客服系统-GOFLY diff --git a/ws/user.go b/ws/user.go index 801401e..9d9cae5 100644 --- a/ws/user.go +++ b/ws/user.go @@ -41,7 +41,8 @@ func NewKefuServer(c *gin.Context) { var receive []byte messageType, receive, err := conn.ReadMessage() if err != nil { - log.Println(err) + log.Println("ws/user.go ", err) + conn.Close() return }