This commit is contained in:
richboo111
2022-08-15 17:15:29 +08:00
parent 1600a275be
commit 10569b34f8

View File

@@ -311,7 +311,8 @@ func (c *EventController) UploadAudio() {
globals.SugarLogger.Debug("打印一下f========", f, file)
c.SaveToFile("rsmAudio", filePath+fileName)
return &model.ImMessageRecord{
Content: "https://www.jxcs.net/audio/" + timeStr + "/" + fileName,
Content: "/jxdata/cthrgw/dist/audio/" + timeStr + "/" + fileName,
//Content: "https://www.jxcs.net/audio/" + timeStr + "/" + fileName,
}, "", err
})
}