下载照片路径

main
wangbin 1 month ago
parent 3b82083eb1
commit 211cde68f4

@ -1272,7 +1272,7 @@ func UpdateCurrentImg(CPath string) {
if strings.Contains(CPath, "/") { if strings.Contains(CPath, "/") {
// //
// imgCurrentPersonPath = CFLXCfig.SeverData.HttpFileUrl + "PersonImage" + CPath[strings.LastIndex(CPath, "/"):] // imgCurrentPersonPath = CFLXCfig.SeverData.HttpFileUrl + "PersonImage" + CPath[strings.LastIndex(CPath, "/"):]
imgCurrentPersonPath = "./PersonImage" + CPath[strings.LastIndex(CPath, "/"):] imgCurrentPersonPath = "./public/upload" + CPath[strings.LastIndex(CPath, "/"):]
} else { } else {
imgCurrentPersonPath = "" imgCurrentPersonPath = ""
} }

Loading…
Cancel
Save