Merge branch 'master' of https://gitee.com/wjl2008_admin/nuttyreading-java into zcc
This commit is contained in:
@@ -132,20 +132,20 @@ public class CourseCatalogueChapterVideoServiceImpl extends ServiceImpl<CourseCa
|
|||||||
if (video.getType() == 0) {
|
if (video.getType() == 0) {
|
||||||
String s_str = "";
|
String s_str = "";
|
||||||
if (video.getVideo().startsWith("common/")) {
|
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/")) {
|
} else if (video.getVideo().startsWith("article/")) {
|
||||||
s_str = "http://oss.taihumed.com/video/";
|
s_str = "https://oss.taihumed.com/video/";
|
||||||
} else {
|
} else {
|
||||||
s_str = "http://oss.taihumed.com/video/taiHuClass/";
|
s_str = "https://oss.taihumed.com/video/taiHuClass/";
|
||||||
}
|
}
|
||||||
video.setVideoUrl(s_str + video.getVideo());
|
video.setVideoUrl(s_str + video.getVideo());
|
||||||
}
|
}
|
||||||
if(video.getType() == 2){
|
if(video.getType() == 2){
|
||||||
String s_str = "";
|
String s_str = "";
|
||||||
if (video.getVideo().startsWith("article/")) {
|
if (video.getVideo().startsWith("article/")) {
|
||||||
s_str = "http://oss.taihumed.com/voice/article/";
|
s_str = "https://oss.taihumed.com/voice/article/";
|
||||||
} else {
|
} else {
|
||||||
s_str = "http://oss.taihumed.com/voice/taiHuClass/";
|
s_str = "https://oss.taihumed.com/voice/taiHuClass/";
|
||||||
}
|
}
|
||||||
video.setVideoUrl(s_str + video.getVideo());
|
video.setVideoUrl(s_str + video.getVideo());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user