This commit is contained in:
2023-12-25 14:15:35 +08:00
parent 1f08356eb1
commit 13aff7f29c
3 changed files with 15 additions and 3461 deletions
@@ -281,7 +281,7 @@ namespace WebAPI.Controllers
getPerson.PhotoUrl = path + flieName;
System.IO.File.WriteAllBytes((fileUrl + flieName), image);
//AttachFileService.Base64ToImage(person.headImage, path, person.PersonName);
db.SubmitChanges();
PersonService.UpdatePhotoUrl(getPerson.PersonId, getPerson.PhotoUrl,getPerson.HeadImage);
responeData.message = "更新照片!";
}
else