update
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user