mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +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[""] = req.Content
|
||||
str := ""
|
||||
json.Unmarshal([]byte(req.Content), &str)
|
||||
content["content"] = str
|
||||
input := &apistruct.SendMsgReq{
|
||||
RecvID: req.SendID,
|
||||
SendMsg: apistruct.SendMsg{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user