update 优化 三方认证使用 Redis 缓存授权状态

This commit is contained in:
疯狂的狮子Li
2023-07-12 14:18:41 +08:00
parent 82aeb75e31
commit 1dc718291b
5 changed files with 37 additions and 35 deletions

View File

@ -31,4 +31,9 @@ public interface GlobalConstants {
* 登录账户密码错误次数 redis key
*/
String PWD_ERR_CNT_KEY = GLOBAL_REDIS_KEY + "pwd_err_cnt:";
/**
* 三方认证 redis key
*/
String SOCIAL_AUTH_CODE_KEY = GLOBAL_REDIS_KEY + "social_auth_codes:";
}