Forráskód Böngészése

rename cache keys.

deason 2 éve
szülő
commit
bcc44749e1

+ 40 - 0
examcloud-web/src/main/java/cn/com/qmth/examcloud/support/CacheConstants.java

@@ -59,6 +59,16 @@ public interface CacheConstants {
      */
     String LOCK_EXAM_DATA_CLEAN = LOCK_PREFIX + "OE_EXAM_DATA_CLEAN";
 
+    /**
+     * 网考导出任务锁:{exportTaskId}
+     */
+    String LOCK_OE_EXPORT_TASK = LOCK_PREFIX + "OE_EXPORT_TASK:";
+
+    /**
+     * 阅卷导出任务锁:{exportTaskId}
+     */
+    String LOCK_M_EXPORT_TASK = LOCK_PREFIX + "M_EXPORT_TASK:";
+
     /**
      * 考试更新锁:{rootOrgId}_{examCode}
      */
@@ -108,6 +118,11 @@ public interface CacheConstants {
      */
     String CACHE_B_PRIVILEGE_ROLES = "$B:PRIVILEGE_ROLES:";
 
+    /**
+     * 缓存 - 数据权限信息:{userId}_{dataRuleType}
+     */
+    String CACHE_B_DATA_RULE = "$B:DATA_RULE:";
+
     /**
      * 缓存 - 系统属性:{propKey}
      */
@@ -133,6 +148,11 @@ public interface CacheConstants {
      */
     String CACHE_B_ORG_PROP = "$B:ORG_PROP:";
 
+    /**
+     * 缓存 - 机构属性列表信息:{orgId}_{propertyGroupId}
+     */
+    String CACHE_B_ORG_PROP_LIST = "$B:ORG_PROP_LIST:";
+
     /**
      * 缓存 - 课程信息:{courseId}
      */
@@ -153,6 +173,26 @@ public interface CacheConstants {
      */
     String CACHE_B_LOGIN_ERR = "$B:LOGIN_ERR:";
 
+    /**
+     * 缓存 - 极验-验证码状态:{user_id}
+     */
+    String CACHE_B_GEETEST_STATUS = "$B:GEETEST_STATUS:UID_";
+
+    /**
+     * 缓存 - 数字公式-验证码信息:{rootOrgId}_{account}
+     */
+    String CACHE_B_VERIFY_CODE = "$B:VERIFY_CODE:";
+
+    /**
+     * 缓存 - 数字公式-验证码限流:{rootOrgId}_{account}
+     */
+    String CACHE_B_VERIFY_CODE_LIMIT = "$B:VERIFY_CODE_LIMIT:";
+
+    /**
+     * 缓存 - 数字公式-验证码资源标识:{uuid}
+     */
+    String CACHE_B_VERIFY_CODE_RESOURCE = "$B:VERIFY_CODE_RESOURCE:";
+
 
 
     /* #################### 考务模块 #################### */