Przeglądaj źródła

修改提示信息

private_deployment
lrh 1 rok temu
rodzic
commit
d6f7902648
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      suimangService/src/main/java/com/iformall/service/sm/impl/PhotoSpeakVideoServiceImpl.java

+ 1
- 1
suimangService/src/main/java/com/iformall/service/sm/impl/PhotoSpeakVideoServiceImpl.java Wyświetl plik

@@ -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())


Ładowanie…
Anuluj
Zapisz