This commit is contained in:
wangjinlei
2024-05-16 17:19:43 +08:00
parent 7beb2b2b2c
commit 9442e576e8

View File

@@ -87,6 +87,17 @@ public class CourseCatalogueChapterVideoServiceImpl extends ServiceImpl<CourseCa
video.setVideoUrl(s_str + video.getVideo());
}
if(video.getType() == 2){
String s_str = "";
if (video.getVideo().startsWith("article/")) {
s_str = "https://ehh-private-01.oss-cn-beijing.aliyuncs.com/voice/article/";
} else {
s_str = "https://ehh-private-01.oss-cn-beijing.aliyuncs.com/voice/taiHuClass/";
}
video.setVideoUrl(s_str + video.getVideo());
}
return video;
}