|
@@ -18,6 +18,7 @@ import cn.com.qmth.examcloud.question.commons.core.paper.DefaultQuestionStructur
|
|
import cn.com.qmth.examcloud.question.commons.core.paper.DefaultQuestionUnitWrapper;
|
|
import cn.com.qmth.examcloud.question.commons.core.paper.DefaultQuestionUnitWrapper;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.DefaultQuestionStructure;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.DefaultQuestionStructure;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.DefaultQuestionUnit;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.DefaultQuestionUnit;
|
|
|
|
+import cn.com.qmth.examcloud.support.Constants;
|
|
import cn.com.qmth.examcloud.support.cache.CacheHelper;
|
|
import cn.com.qmth.examcloud.support.cache.CacheHelper;
|
|
import cn.com.qmth.examcloud.support.cache.bean.QuestionCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.QuestionCacheBean;
|
|
import cn.com.qmth.examcloud.support.examing.*;
|
|
import cn.com.qmth.examcloud.support.examing.*;
|
|
@@ -189,7 +190,8 @@ public class ExamRecordQuestionsServiceImpl implements ExamRecordQuestionsServic
|
|
long examRecordDataId = examSessionInfo.getExamRecordDataId();
|
|
long examRecordDataId = examSessionInfo.getExamRecordDataId();
|
|
|
|
|
|
if (StringUtils.isEmpty(referer) || StringUtils.isEmpty(agent) || !agent.contains("electron-exam-shell")) {
|
|
if (StringUtils.isEmpty(referer) || StringUtils.isEmpty(agent) || !agent.contains("electron-exam-shell")) {
|
|
- redisClient.set("OE_SESSION_WARN_" + examSessionInfo.getExamRecordDataId(), true, 12 * 60 * 60);
|
|
|
|
|
|
+ String cacheKey = Constants.OE_DISCIPLINE_ILLEGAL_DATA + examSessionInfo.getExamRecordDataId();
|
|
|
|
+ redisClient.set(cacheKey, true, 6 * 60 * 60);
|
|
}
|
|
}
|
|
|
|
|
|
for (ExamStudentQuestionInfo examQuestionInfo : examQuestionInfos) {
|
|
for (ExamStudentQuestionInfo examQuestionInfo : examQuestionInfos) {
|