fix: fix the errlr

This commit is contained in:
luhaoling 2024-01-16 18:56:33 +08:00
parent 0f0bf645f9
commit 4b61a3103d

View File

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