post
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user