diff --git a/face-server/src/main/java/com/dkha/server/services/impl/PortraitServiceImpl.java b/face-server/src/main/java/com/dkha/server/services/impl/PortraitServiceImpl.java index 9b651d9..1972f53 100644 --- a/face-server/src/main/java/com/dkha/server/services/impl/PortraitServiceImpl.java +++ b/face-server/src/main/java/com/dkha/server/services/impl/PortraitServiceImpl.java @@ -374,11 +374,12 @@ public class PortraitServiceImpl extends ServiceImpl i public Portrait save(ImageReturnVO imageReturnVO, ImagesVO imageVO) { Portrait portrait = new Portrait(); portrait.setIdPortrait(Long.parseLong(imageVO.getFaceId())); - portrait.setFeatId(imageReturnVO.getIdFaceid()); - portrait.setFaceIds(imageReturnVO.getFaceId()); + portrait.setFeatId(imageVO.getFaceId()); + portrait.setFaceIds(imageVO.getFaceId()); portrait.setName(imageVO.getName()); portrait.setIdFactory(Long.parseLong(imageVO.getLibraryId())); portrait.setUrl(imageVO.getUrl()); + portrait.setBackgroundUrl(imageVO.getUrl()); // if (UtilValidate.isNotEmpty(imageReturnVO.getFace())) { // /**背景地址*/