This commit is contained in:
苏尹岚
2020-12-11 17:05:44 +08:00
parent 0c72be5d8e
commit cfadba7ad3

View File

@@ -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
})
}