fix: fix the unmarshal

This commit is contained in:
luhaoling 2024-01-17 11:44:42 +08:00
parent 809765722f
commit db5c092978

View File

@ -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{