|
|
@@ -2349,9 +2349,9 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
// FsCourseWatchLog watchCourseVideo = courseWatchLogMapper.getWatchCourseVideoByFsUser(param.getUserId(), param.getVideoId(), param.getCompanyUserId());
|
|
|
FsCourseWatchLog watchCourseVideo = courseWatchLogMapper.getCourseWatchLogByUser(param.getUserId(), param.getVideoId(),null);
|
|
|
|
|
|
- if (!isUserCoursePeriodValid(param)) {
|
|
|
- return ResponseResult.fail(504, "请观看最新的课程项目");
|
|
|
- }
|
|
|
+// if (!isUserCoursePeriodValid(param)) {
|
|
|
+// return ResponseResult.fail(504, "请观看最新的课程项目");
|
|
|
+// }
|
|
|
|
|
|
// 检查是否为自由模式
|
|
|
FsUserCoursePeriod period = fsUserCoursePeriodMapper.selectFsUserCoursePeriodById(param.getPeriodId());
|