From 63e1afff7483abb4b45ac48360dfd0ff95f34b41 Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Tue, 16 Jan 2024 19:11:08 +0800 Subject: [PATCH] fix: fix the error --- internal/api/msg.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/api/msg.go b/internal/api/msg.go index 3130a8d65..88f25a425 100644 --- a/internal/api/msg.go +++ b/internal/api/msg.go @@ -461,8 +461,6 @@ func (m *MessageApi) CallbackExample(c *gin.Context) { } content := make(map[string]any, 1) - str := "" - json.Unmarshal([]byte(req.Content), &str) content["content"] = req.Content input := &apistruct.SendMsgReq{ RecvID: req.SendID,