快递地址前缀

This commit is contained in:
richboo111
2022-08-15 15:54:31 +08:00
parent 5595fd5ad9
commit 48e4753a2a
2 changed files with 1 additions and 6 deletions

View File

@@ -307,7 +307,7 @@ func (c *EventController) UploadAudio() {
}
defer f.Close()
io.Copy(f, file)
c.SaveToFile("rsmAudio", "/jxdata/cthrgw/dist/audio/"+timeStr+"/"+fileName)
return &model.ImMessageRecord{
Content: "https://www.jxcs.net/audio/" + timeStr + "/" + fileName,
}, "", err