From e0d09a143cd0ec48a33427bb5ddf1cbd8724f2fd Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Wed, 17 Jan 2024 10:07:33 +0800 Subject: [PATCH] fix: unmarshal the json --- 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 9266dc8a8..99882d45e 100644 --- a/internal/api/msg.go +++ b/internal/api/msg.go @@ -470,7 +470,7 @@ func (m *MessageApi) CallbackExample(c *gin.Context) { return } - content["content"] = req.Content + content["content"] = str input := &apistruct.SendMsgReq{ RecvID: req.SendID, SendMsg: apistruct.SendMsg{