a
This commit is contained in:
@@ -363,8 +363,8 @@ 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)
|
||||
return "http://139.155.88.29/img/" + fileName, "", err
|
||||
c.SaveToFile("rsmImg", "/jxdata/cthrgw/dist/img/"+fileName)
|
||||
return "https://www.jxcs.net/img/" + fileName, "", err
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user