diff --git a/suimangService/src/main/java/com/iformall/service/sm/impl/PhotoSpeakVideoServiceImpl.java b/suimangService/src/main/java/com/iformall/service/sm/impl/PhotoSpeakVideoServiceImpl.java index 3f982c6..5fdfca6 100644 --- a/suimangService/src/main/java/com/iformall/service/sm/impl/PhotoSpeakVideoServiceImpl.java +++ b/suimangService/src/main/java/com/iformall/service/sm/impl/PhotoSpeakVideoServiceImpl.java @@ -272,7 +272,7 @@ public class PhotoSpeakVideoServiceImpl implements PhotoSpeakVideoService { try { String progress = videoFactory.getExcutor(videoType).getVedioUploadProgress(result.getVideoId()); Thread.sleep(1000); - if (progress.equals("complete")) { + if (StringUtils.isNotEmpty(progress) && progress.equals("complete")) { VideUploadResult videoDetail = videoFactory.getExcutor(videoType).getVideoDetailWithCache(result.getVideoId()); if (videoDetail.isSuccess() && StringUtils.isNotBlank(videoDetail.getDuration())