bug
This commit is contained in:
@@ -87,6 +87,17 @@ public class CourseCatalogueChapterVideoServiceImpl extends ServiceImpl<CourseCa
|
|||||||
video.setVideoUrl(s_str + video.getVideo());
|
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;
|
return video;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user