This commit is contained in:
高飞 2025-09-11 11:35:10 +08:00
commit 446f2899bd
1 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@
}
if (!string.IsNullOrEmpty(person.PhotoUrl))
{
imgPhoto1.ImageUrl = person.PhotoUrl;
imgPhoto1.ImageUrl = "~/" + person.PhotoUrl;
}
}
else
@ -260,7 +260,7 @@
public string PersonFace(Model.HJGL_BS_Welder person)
{
string message = string.Empty;
string filePath = Server.MapPath(person.PhotoUrl);
string filePath = Server.MapPath("~/")+person.PhotoUrl;
List<SgManager.AI.faceResult> kqFace = null;
try
{