shangchuantup

This commit is contained in:
苏尹岚
2020-10-22 16:52:02 +08:00
parent 244e8c8473
commit f24f927a68

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", "./img/"+fileName)
c.SaveToFile("rsmImg", "/jxdata/static/img"+fileName)
return fileName, "", err
})
}