aa
This commit is contained in:
@@ -407,6 +407,9 @@ func (c *EventController) UploadAudio() {
|
|||||||
}
|
}
|
||||||
defer f.Close()
|
defer f.Close()
|
||||||
io.Copy(f, file)
|
io.Copy(f, file)
|
||||||
return "https://www.jxcs.net/audio/" + timeStr + "/" + fileName, "", err
|
|
||||||
|
return &model.ImMessageRecord{
|
||||||
|
Content: "https://www.jxcs.net/audio/" + timeStr + "/" + fileName,
|
||||||
|
}, "", err
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user