添加人像
parent
a1fc93e59c
commit
6d44e9d4b7
|
@ -374,11 +374,12 @@ public class PortraitServiceImpl extends ServiceImpl<PortraitMapper, Portrait> i
|
||||||
public Portrait save(ImageReturnVO imageReturnVO, ImagesVO imageVO) {
|
public Portrait save(ImageReturnVO imageReturnVO, ImagesVO imageVO) {
|
||||||
Portrait portrait = new Portrait();
|
Portrait portrait = new Portrait();
|
||||||
portrait.setIdPortrait(Long.parseLong(imageVO.getFaceId()));
|
portrait.setIdPortrait(Long.parseLong(imageVO.getFaceId()));
|
||||||
portrait.setFeatId(imageReturnVO.getIdFaceid());
|
portrait.setFeatId(imageVO.getFaceId());
|
||||||
portrait.setFaceIds(imageReturnVO.getFaceId());
|
portrait.setFaceIds(imageVO.getFaceId());
|
||||||
portrait.setName(imageVO.getName());
|
portrait.setName(imageVO.getName());
|
||||||
portrait.setIdFactory(Long.parseLong(imageVO.getLibraryId()));
|
portrait.setIdFactory(Long.parseLong(imageVO.getLibraryId()));
|
||||||
portrait.setUrl(imageVO.getUrl());
|
portrait.setUrl(imageVO.getUrl());
|
||||||
|
portrait.setBackgroundUrl(imageVO.getUrl());
|
||||||
|
|
||||||
// if (UtilValidate.isNotEmpty(imageReturnVO.getFace())) {
|
// if (UtilValidate.isNotEmpty(imageReturnVO.getFace())) {
|
||||||
// /**背景地址*/
|
// /**背景地址*/
|
||||||
|
|
Loading…
Reference in New Issue