| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -159,22 +159,22 @@ public class PhotoSpeakVideoServiceImpl implements PhotoSpeakVideoService { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        videoUpd.setId(photoSpeakVideo.getId()); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        String personPhotoUrl = null; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if(photoSpeakVideo.getPersonPhotoId() == null){ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if (photoSpeakVideo.getPersonPhotoId() == null) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            msg = "未查询到人物照片"; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }else{ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            personPhotoUrl = photoSpeakVideo.getPersonPhotoUrl(); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            //校验图片是否合法 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            ResultData data = personPhotoService.checkPhoto(personPhotoUrl); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            if (data.code != 2000) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                videoUpd.setVideoStatus(EnumVideoStatus.fail.getCode()); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                videoUpd.setVideoMsg(data.message); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                videoUpd.setVideoMsg("图片质量审核失败:" + data.message); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                this.saveOrUpdate(videoUpd); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                return new AsyncResult<>(0); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if(StringUtils.isBlank(personPhotoUrl)){ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            videoUpd.setVideoStatus(EnumVideoStatus.fail.getCode()); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            videoUpd.setVideoMsg("图片质量审核失败"); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            videoUpd.setVideoMsg(msg); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            this.saveOrUpdate(videoUpd); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            return new AsyncResult<>(0); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |