shangchuantup

This commit is contained in:
苏尹岚
2020-10-22 17:20:39 +08:00
parent f24f927a68
commit 2ea9a04503

View File

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