From 21362fd048558832cdcaca8ee957d2d7aa753be2 Mon Sep 17 00:00:00 2001
From: zhangf <1603559716@qq.com>
Date: Mon, 24 Jun 2024 09:04:41 +0800
Subject: [PATCH] 三方接口
---
ruoyi-common/src/main/java/com/ruoyi/common/constant/CacheConstants.java | 7 +++++++
1 files changed, 7 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..dd9207c 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,9 @@
* 登录账户密码错误次数 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:";
}
--
Gitblit v1.9.2