This commit is contained in:
苏尹岚
2020-10-22 17:28:52 +08:00
parent 8631c0acc4
commit 520e91ff9d

View File

@@ -292,7 +292,7 @@ func (c *EventController) UploadImg() {
return retVal, "", err
}
fileName := utils.GetUUID() + "_" + time.Now().Format("20060102") + path.Ext(head.Filename)
c.SaveToFile("rsmImg", "/jxdata/static/img"+fileName)
c.SaveToFile("rsmImg", "/jxdata/static/img/"+fileName)
return "http://139.155.88.29/img/" + fileName, "", err
})
}