a
This commit is contained in:
@@ -311,7 +311,7 @@ func (c *EventController) UploadAudio() {
|
|||||||
globals.SugarLogger.Debug("打印一下f========", f, file)
|
globals.SugarLogger.Debug("打印一下f========", f, file)
|
||||||
c.SaveToFile("rsmAudio", filePath+fileName)
|
c.SaveToFile("rsmAudio", filePath+fileName)
|
||||||
return &model.ImMessageRecord{
|
return &model.ImMessageRecord{
|
||||||
Content: "/jxdata/cthrgw/dist/audio/" + timeStr + "/" + fileName,
|
Content: "https://www.jxcs.net/jxdata/cthrgw/dist/audio/" + timeStr + "/" + fileName,
|
||||||
//Content: "https://www.jxcs.net/audio/" + timeStr + "/" + fileName,
|
//Content: "https://www.jxcs.net/audio/" + timeStr + "/" + fileName,
|
||||||
}, "", err
|
}, "", err
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user