wangliang 4 years ago
parent
commit
b949d9d031

+ 11 - 11
themis-business/src/main/java/com/qmth/themis/business/cache/RedisKeyHelper.java

@@ -8,53 +8,53 @@ public class RedisKeyHelper {
     /**
      * 场次
      */
-    private static String examActivityKeyPrefix = "exam_activity";
+    private static String examActivityKeyPrefix = "exam_activity:";
     /**
      * 考生
      */
-    private static String examStudentKeyPrefix = "exam_student";
+    private static String examStudentKeyPrefix = "exam_student:";
     /**
      * 考试记录
      */
-    private static String examRecordKeyPrefix = "exam_record";
+    private static String examRecordKeyPrefix = "exam_record:";
     /**
      * 考生试卷结构
      */
-    private static String studentPaperStructKeyPrefix = "student_paper_struct";
+    private static String studentPaperStructKeyPrefix = "student_paper_struct:";
     /**
      * 考生作答
      */
-    private static String studentAnswerKeyPrefix = "student_answer";
+    private static String studentAnswerKeyPrefix = "student_answer:";
     /**
      * 剩余音频播放次数
      */
-    private static String audioLeftPlayCountKeyPrefix = "audio_left_play_count";
+    private static String audioLeftPlayCountKeyPrefix = "audio_left_play_count:";
 
     /**
      * 人脸验证
      */
-    private static String faceVerifyKeyPrefix = "face_verify";
+    private static String faceVerifyKeyPrefix = "face_verify:";
 
     /**
      * 断点
      */
-    private static String examBreakKeyPrefix = "exam_break";
+    private static String examBreakKeyPrefix = "exam_break:";
 
     /**
      * 活体验证
      */
-    private static String livenessVerifyKeyPrefix = "liveness_verify";
+    private static String livenessVerifyKeyPrefix = "liveness_verify:";
 
 
     /**
      * 场次-考试记录
      */
-    private static String examActivityRecordKeyPrefix = "exam_activity_record";
+    private static String examActivityRecordKeyPrefix = "exam_activity_record:";
 
     /**
      * 移动端临时认证
      */
-    private static String mobileAuthKeyPrefix = "mobile_auth";
+    private static String mobileAuthKeyPrefix = "mobile_auth:";
 
     /**
      * 未完成考试记录id