mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-18 13:01:02 +08:00
redis功能-注册找回密码
+ 注册功能,验证码使用缓存,五分钟过期 + 重置密码,验证码使用缓存,五分钟过期
This commit is contained in:
@@ -40,6 +40,8 @@ public class CachingConfig {
|
||||
public static final String CATEGORY_CACHE_NAME="openisle_categories";
|
||||
// 在线人数缓存名
|
||||
public static final String ONLINE_CACHE_NAME="openisle_online";
|
||||
// 注册验证码
|
||||
public static final String VERIFY_CACHE_NAME="openisle_verify";
|
||||
|
||||
/**
|
||||
* 自定义Redis的序列化器
|
||||
|
||||
Reference in New Issue
Block a user