bug
This commit is contained in:
@@ -75,6 +75,18 @@ public class CourseCatalogueChapterVideoServiceImpl extends ServiceImpl<CourseCa
|
||||
}
|
||||
UserCourseVideoPositionEntity videoPosition = getVideoPosition(video, uId);
|
||||
video.setUserCourseVideoPositionEntity(videoPosition);
|
||||
if (video.getType() == 0) {
|
||||
String s_str = "";
|
||||
if (video.getVideo().startsWith("common/")) {
|
||||
s_str = "https://ehh-private-01.oss-cn-beijing.aliyuncs.com/video/";
|
||||
} else if (video.getVideo().startsWith("article/")) {
|
||||
s_str = "https://ehh-private-01.oss-cn-beijing.aliyuncs.com/video/";
|
||||
} else {
|
||||
s_str = "https://ehh-private-01.oss-cn-beijing.aliyuncs.com/video/taiHuClass/";
|
||||
}
|
||||
video.setVideoUrl(s_str + video.getVideo());
|
||||
}
|
||||
|
||||
return video;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user