From db5c092978e85c98ca8483dbb82ff2a76a83ee30 Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Wed, 17 Jan 2024 11:44:42 +0800 Subject: [PATCH] fix: fix the unmarshal --- internal/api/msg.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/api/msg.go b/internal/api/msg.go index 74e301ff0..25cb9e912 100644 --- a/internal/api/msg.go +++ b/internal/api/msg.go @@ -460,7 +460,6 @@ func (m *MessageApi) CallbackExample(c *gin.Context) { } content := make(map[string]any, 1) - log.ZDebug(c, "CallbackExample Content Content Content Content Content Content Content Content Content Content", "req.Content", req.Content) var con any if req.ContentType == constant.Text { @@ -488,6 +487,8 @@ func (m *MessageApi) CallbackExample(c *gin.Context) { return } } + + log.ZDebug(c, "CallbackExample CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT ", content) input := &apistruct.SendMsgReq{ RecvID: req.SendID, SendMsg: apistruct.SendMsg{