|
@@ -427,7 +427,7 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> impleme
|
|
|
if(Validator.isNotEmpty(keyStatus)&&keyStatus==100L){
|
|
|
throw new CustomException("禁止频繁提交",667);
|
|
|
}
|
|
|
- redisCache.setCacheObject(key, 100L,5, TimeUnit.SECONDS);
|
|
|
+ redisCache.setCacheObject(key, 100L,60, TimeUnit.SECONDS);
|
|
|
//将该班级下的学员作弊的节改成待重修
|
|
|
List<GoodsPeriodStatusVo> goodsPeriodStatusVos = baseMapper.listSection(bo);
|
|
|
for (GoodsPeriodStatusVo goodsPeriodStatusVo : goodsPeriodStatusVos) {
|
|
@@ -492,6 +492,7 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> impleme
|
|
|
}
|
|
|
//更新班级学时状态
|
|
|
iClassGradeUserService.updateUserPeriodStatus(bo);
|
|
|
+ redisCache.deleteObject(key);
|
|
|
return true;
|
|
|
}
|
|
|
|