Explorar el Código

questionContentCache key

deason hace 3 años
padre
commit
003f8af99a

+ 1 - 1
examcloud-core-oe-student-service/src/main/java/cn/com/qmth/examcloud/core/oe/student/service/impl/ExamRecordQuestionsServiceImpl.java

@@ -192,7 +192,7 @@ public class ExamRecordQuestionsServiceImpl implements ExamRecordQuestionsServic
         }
 
         // 本地缓存key规则:examId_courseCode_paperType_questionId
-        String cacheKey = examSessionInfo.getExamId() + "_" + examSessionInfo.getCourseCode() + "_"
+        String cacheKey = "CLIENT_" + examSessionInfo.getExamId() + "_" + examSessionInfo.getCourseCode() + "_"
                 + examSessionInfo.getPaperType() + "_" + questionId;
         String contentJson = questionContentCache.getIfPresent(cacheKey);