mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
fix: fix the errlr
This commit is contained in:
parent
0f0bf645f9
commit
4b61a3103d
@ -461,7 +461,9 @@ func (m *MessageApi) CallbackExample(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
content := make(map[string]any, 1)
|
content := make(map[string]any, 1)
|
||||||
content[""] = req.Content
|
str := ""
|
||||||
|
json.Unmarshal([]byte(req.Content), &str)
|
||||||
|
content["content"] = str
|
||||||
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