This commit is contained in:
wangjinlei
2024-10-15 17:16:20 +08:00
parent e883ceaba2
commit 32340b8a43

View File

@@ -132,20 +132,20 @@ public class CourseCatalogueChapterVideoServiceImpl extends ServiceImpl<CourseCa
if (video.getType() == 0) {
String s_str = "";
if (video.getVideo().startsWith("common/")) {
s_str = "http://oss.taihumed.com/video/";
s_str = "https://oss.taihumed.com/video/";
} else if (video.getVideo().startsWith("article/")) {
s_str = "http://oss.taihumed.com/video/";
s_str = "https://oss.taihumed.com/video/";
} else {
s_str = "http://oss.taihumed.com/video/taiHuClass/";
s_str = "https://oss.taihumed.com/video/taiHuClass/";
}
video.setVideoUrl(s_str + video.getVideo());
}
if(video.getType() == 2){
String s_str = "";
if (video.getVideo().startsWith("article/")) {
s_str = "http://oss.taihumed.com/voice/article/";
s_str = "https://oss.taihumed.com/voice/article/";
} else {
s_str = "http://oss.taihumed.com/voice/taiHuClass/";
s_str = "https://oss.taihumed.com/voice/taiHuClass/";
}
video.setVideoUrl(s_str + video.getVideo());
}