From fae490f43ecb2399ee711b932b320ce138f73c6c Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Thu, 10 Apr 2025 00:42:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20help=20=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E4=B8=AD=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E6=B6=88=E6=81=AF=20ID=20=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action/action.go | 2 -- handler/help/help.go | 1 - 2 files changed, 3 deletions(-) diff --git a/action/action.go b/action/action.go index 20b6f8c..fdde0b9 100644 --- a/action/action.go +++ b/action/action.go @@ -3,7 +3,6 @@ package action import ( "encoding/json" "fmt" - "log" "strconv" "sync" "time" @@ -82,7 +81,6 @@ func (am *actionManager) SendForward(reply *model.Reply) error { } sendPkg := model.GenSendPkg(userID, groupID, reply.ReplyMsg, false, true) sendPkgJson, err := json.Marshal(sendPkg) - log.Println(string(sendPkgJson)) if err != nil { return err } diff --git a/handler/help/help.go b/handler/help/help.go index 6a3fc1f..b32c69f 100644 --- a/handler/help/help.go +++ b/handler/help/help.go @@ -32,7 +32,6 @@ func help(msg model.Message) *model.Reply { textMsg := message.NewTextMessage() textMsg.Data.Text = helpInfo nodeMsg := message.NewNodeMessage() - nodeMsg.Data.ID = "10086" nodeMsg.Data.UserID = "123456789" nodeMsg.Data.Nickname = "test" nodeMsg.Data.Content = []any{&textMsg}