fix: fix the error

pull/1783/head
luhaoling 2 years ago
parent dc05a8294e
commit 63e1afff74

@ -461,8 +461,6 @@ func (m *MessageApi) CallbackExample(c *gin.Context) {
} }
content := make(map[string]any, 1) content := make(map[string]any, 1)
str := ""
json.Unmarshal([]byte(req.Content), &str)
content["content"] = req.Content content["content"] = req.Content
input := &apistruct.SendMsgReq{ input := &apistruct.SendMsgReq{
RecvID: req.SendID, RecvID: req.SendID,

Loading…
Cancel
Save