From dc05a8294e777c3fd31e3130d6d2699797ce4c4d Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Tue, 16 Jan 2024 19:08:29 +0800 Subject: [PATCH] fix: fix the errlr --- internal/api/msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/msg.go b/internal/api/msg.go index 9c752720e..3130a8d65 100644 --- a/internal/api/msg.go +++ b/internal/api/msg.go @@ -463,7 +463,7 @@ func (m *MessageApi) CallbackExample(c *gin.Context) { content := make(map[string]any, 1) str := "" json.Unmarshal([]byte(req.Content), &str) - content["content"] = str + content["content"] = req.Content input := &apistruct.SendMsgReq{ RecvID: req.SendID, SendMsg: apistruct.SendMsg{