From b56c3c0f1bc87935a8b59f6ee39f78b4796250ff Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期三, 06 十一月 2024 15:01:02 +0800 Subject: [PATCH] 修改前台页面对应的后台效果,新增学习记录的自然时间差 --- ruoyi-common/src/main/java/com/ruoyi/common/constant/CacheConstants.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/constant/CacheConstants.java b/ruoyi-common/src/main/java/com/ruoyi/common/constant/CacheConstants.java index 126b36f..566fdf7 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/constant/CacheConstants.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/constant/CacheConstants.java @@ -12,6 +12,8 @@ */ public static final String LOGIN_TOKEN_KEY = "swspkmas:login_tokens:"; + public static final String THREE_INSTITUTION_TOKEN_KEY = "swspkmas:three_institution_tokens:"; + /** * 验证码 redis key */ @@ -50,4 +52,14 @@ * 登录账户密码错误次数 redis key */ public static final String PWD_ERR_CNT_KEY = "swspkmas:pwd_err_cnt:"; + + /** + * 七天内访问请求token次数 + */ + public static final String THREE_TOKEN_CNT_KEY = "swspkmas:three_token_cnt:"; + + /** + * 三陪类型 + */ + public static final String THREE_SUBJECT_TYPE = "swspkmas:three_subject_type"; } -- Gitblit v1.9.2