xiatian 2 rokov pred
rodič
commit
b48a2fcd5e

+ 2 - 1
examcloud-core-examwork-service/src/main/java/cn/com/qmth/examcloud/core/examwork/service/cache/ExamSettingsCache.java

@@ -4,6 +4,7 @@ import cn.com.qmth.examcloud.commons.exception.StatusException;
 import cn.com.qmth.examcloud.core.examwork.dao.ExamRepo;
 import cn.com.qmth.examcloud.core.examwork.dao.ExamSpecialSettingsRepo;
 import cn.com.qmth.examcloud.core.examwork.dao.entity.ExamEntity;
+import cn.com.qmth.examcloud.support.CacheConstants;
 import cn.com.qmth.examcloud.support.cache.bean.ExamSettingsCacheBean;
 import cn.com.qmth.examcloud.web.cache.RandomObjectRedisCache;
 import cn.com.qmth.examcloud.web.helpers.GlobalHelper;
@@ -52,7 +53,7 @@ public class ExamSettingsCache extends RandomObjectRedisCache<ExamSettingsCacheB
 
     @Override
     protected String getKeyPrefix() {
-        return "E_EXAM:";
+        return CacheConstants.CACHE_E_EXAM;
     }
 
     @Override