From 88e62d597863cf2e787e075cc6b62f50554de884 Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Thu, 28 Jul 2022 19:35:54 +0800 Subject: [PATCH] ToUsername --- handle/handleMessage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handle/handleMessage.go b/handle/handleMessage.go index a923bb0..2f16714 100644 --- a/handle/handleMessage.go +++ b/handle/handleMessage.go @@ -29,7 +29,7 @@ func handleMessage(w http.ResponseWriter, r *http.Request) { return } else { log.Println("消息验证成功:", msgContent) - go RecordWechatLog(msgContent.FromUsername, msgContent.ToUsername, msgContent.CreateTime, msgContent.MsgType, msgContent.Content) + go RecordWechatLog(msgContent.ToUsername, msgContent.FromUsername, msgContent.CreateTime, msgContent.MsgType, msgContent.Content) if global.EnableReply { Reply(msgContent, timestamp, nonce, w) } else {