refactor: 验证码字段调整

This commit is contained in:
hxr
2023-11-18 22:59:37 +08:00
parent 2c7e348864
commit 987e2177fd
4 changed files with 20 additions and 16 deletions

View File

@@ -26,15 +26,15 @@ public interface SecurityConstants {
/**
* 验证码缓存前缀
*/
String VERIFY_CODE_CACHE_PREFIX = "AUTH:VERIFY_CODE:";
String CAPTCHA_CODE_CACHE_PREFIX = "captcha_code:";
/**
* 用户权限集合缓存前缀
*/
String USER_PERMS_CACHE_PREFIX = "AUTH:USER_PERMS:";
String USER_PERMS_CACHE_PREFIX = "user_perms:";
/**
* 黑名单Token缓存前缀
*/
String BLACK_TOKEN_CACHE_PREFIX = "AUTH:BLACK_TOKEN:";
String BLACK_TOKEN_CACHE_PREFIX = "blacklist_token:";
}