|
|
@@ -166,7 +166,10 @@ public class PhotoSpeakVideoServiceImpl implements PhotoSpeakVideoService { |
|
|
|
//校验图片是否合法 |
|
|
|
ResultData data = personPhotoService.checkPhoto(personPhotoUrl); |
|
|
|
if (data.code != 2000) { |
|
|
|
return new AsyncResult<>(data.message); |
|
|
|
videoUpd.setVideoStatus(EnumVideoStatus.fail.getCode()); |
|
|
|
videoUpd.setVideoMsg(data.message); |
|
|
|
this.saveOrUpdate(videoUpd); |
|
|
|
return new AsyncResult<>(0); |
|
|
|
} |
|
|
|
} |
|
|
|
if(StringUtils.isBlank(personPhotoUrl)){ |
|
|
|