fix: fix the unmarshal

pull/1783/head
luhaoling 2 years ago
parent 809765722f
commit db5c092978

@ -460,7 +460,6 @@ func (m *MessageApi) CallbackExample(c *gin.Context) {
} }
content := make(map[string]any, 1) 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 var con any
if req.ContentType == constant.Text { if req.ContentType == constant.Text {
@ -488,6 +487,8 @@ func (m *MessageApi) CallbackExample(c *gin.Context) {
return return
} }
} }
log.ZDebug(c, "CallbackExample CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT CONTENT ", content)
input := &apistruct.SendMsgReq{ input := &apistruct.SendMsgReq{
RecvID: req.SendID, RecvID: req.SendID,
SendMsg: apistruct.SendMsg{ SendMsg: apistruct.SendMsg{

Loading…
Cancel
Save