mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: fix the unmarshal
This commit is contained in:
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…
x
Reference in New Issue
Block a user