refactor: 代码优化

This commit is contained in:
haoxr
2024-01-17 22:13:15 +08:00
parent db6253ca88
commit ce291f1a93
3 changed files with 23 additions and 20 deletions

View File

@@ -21,7 +21,7 @@ public interface CacheConstants {
/**
* 黑名单Token缓存前缀
*/
String BLACKLIST_TOKEN_PREFIX = "blacklist_token:";
String BLACKLIST_TOKEN_PREFIX = "token:blacklist:";
}

View File

@@ -4,25 +4,24 @@ package com.youlai.system.common.enums;
* EasyCaptcha 验证码类型枚举
*
* @author haoxr
* @since 2023/03/24
* @since 2.5.1
*/
public enum CaptchaTypeEnum {
/**
* 算数
* 圆圈干扰验证码
*/
ARITHMETIC,
CIRCLE,
/**
* 中文
*/
CHINESE,
/**
* 中文闪图
*/
CHINESE_GIF,
/**
* 闪图
* GIF验证码
*/
GIF,
SPEC
/**
* 干扰线验证码
*/
LINE,
/**
* 扭曲干扰验证码
*/
SHEAR
}