|
|
@ -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 = ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|