bug
This commit is contained in:
@@ -21,8 +21,8 @@ public class AsyncService {
|
||||
int i = p.getBody().getVideoMeta().getDuration().intValue();
|
||||
courseCatalogueChapterVideoEntity.setDuration(i);
|
||||
}else{
|
||||
Integer mp4Duration = SpdbUtil.getMp4Duration("https://ehh-private-01.oss-cn-beijing.aliyuncs.com/video/taiHuClass/" + courseCatalogueChapterVideoEntity.getVideo());
|
||||
courseCatalogueChapterVideoEntity.setDuration(mp4Duration);
|
||||
// Integer mp4Duration = SpdbUtil.getMp4Duration("https://ehh-private-01.oss-cn-beijing.aliyuncs.com/video/taiHuClass/" + courseCatalogueChapterVideoEntity.getVideo());
|
||||
// courseCatalogueChapterVideoEntity.setDuration(mp4Duration);
|
||||
}
|
||||
courseCatalogueChapterVideoDao.updateById(courseCatalogueChapterVideoEntity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user