|
|
@@ -1086,7 +1086,6 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
try{
|
|
|
boolean getLock = lock.tryLock(100,10000, TimeUnit.MILLISECONDS);
|
|
|
if (!getLock) {
|
|
|
-
|
|
|
return R.error("服务器繁忙,请稍候再试!");
|
|
|
}
|
|
|
// 获取用户信息
|
|
|
@@ -1238,6 +1237,10 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
return R.error("无记录");
|
|
|
}
|
|
|
|
|
|
+ if (log.getLogType() != 2){
|
|
|
+ return R.error("未完课");
|
|
|
+ }
|
|
|
+
|
|
|
FsCourseAnswerLogs rightLog = courseAnswerLogsMapper.selectRightLogByCourseVideo(param.getVideoId(), param.getUserId(), param.getQwUserId());
|
|
|
if (rightLog == null) {
|
|
|
logger.error("未答题:{}",param.getUserId());
|