From b1af7a21f8597bd1990cfe77b7e2cd6f4ef0d31b Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Wed, 10 Aug 2022 19:41:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E8=BF=87=E6=96=87=E6=9C=AC=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E5=88=A0=E9=99=A4=E4=B8=8A=E4=B8=80=E6=9D=A1=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handle/replyText.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handle/replyText.go b/handle/replyText.go index 927d77c..48d7882 100644 --- a/handle/replyText.go +++ b/handle/replyText.go @@ -5,7 +5,6 @@ import ( "WechatGateWay/third_part" "WechatGateWay/utils" "encoding/xml" - "fmt" "log" "net/http" ) @@ -34,8 +33,9 @@ func replyText(msgContent MsgContent, timestamp, nonce string, w http.ResponseWr } else if msgContent.Content == "删除文本" { //通过文本消息删除上一条文本消息 + log.Println("通过文本消息删除上一条文本消息") lastText := GetLastWechatLog(msgContent.FromUsername, "text") - fmt.Println(lastText, "lastText33333333333333333333333333333333333333333333333333333333333333333") + log.Println(lastText, "lastText33333333333333333333333333333333333333333333333333333333333333333") textMd5 := utils.Md5String(lastText.Content) go RecordWechatBlockWords(lastText.Content, textMd5, msgContent.FromUsername) return