|
@@ -163,6 +163,11 @@ public class PhotoSpeakVideoServiceImpl implements PhotoSpeakVideoService { |
|
|
msg = "未查询到人物照片"; |
|
|
msg = "未查询到人物照片"; |
|
|
}else{ |
|
|
}else{ |
|
|
personPhotoUrl = photoSpeakVideo.getPersonPhotoUrl(); |
|
|
personPhotoUrl = photoSpeakVideo.getPersonPhotoUrl(); |
|
|
|
|
|
//校验图片是否合法 |
|
|
|
|
|
ResultData data = personPhotoService.checkPhoto(personPhotoUrl); |
|
|
|
|
|
if (data.code != 2000) { |
|
|
|
|
|
return new AsyncResult<>(data.message); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
if(StringUtils.isBlank(personPhotoUrl)){ |
|
|
if(StringUtils.isBlank(personPhotoUrl)){ |
|
|
videoUpd.setVideoStatus(EnumVideoStatus.fail.getCode()); |
|
|
videoUpd.setVideoStatus(EnumVideoStatus.fail.getCode()); |
|
|