This commit is contained in:
苏尹岚
2020-12-14 15:16:07 +08:00
parent f881f7c7b6
commit 92e28b4176
2 changed files with 11 additions and 11 deletions

View File

@@ -407,6 +407,6 @@ func (c *EventController) UploadAudio() {
}
defer f.Close()
io.Copy(f, file)
return "https://www.jxcs.net/audio/" + fileName, "", err
return "https://www.jxcs.net/audio/" + timeStr + "/" + fileName, "", err
})
}