fix: fix the errlr

pull/1783/head
luhaoling 2 years ago
parent 4b61a3103d
commit dc05a8294e

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

Loading…
Cancel
Save