package com.lf.server.entity.all; /** * Redis缓存键 * @author WWW */ public class RedisCacheKey { /** * 登录令牌键 * * @param key * @return */ public static String signTokenKey(String key) { return "sign:token:" + key; } /** * 登录用户键 * * @param key * @return */ public static String signUserKey(String key) { return "sign:user:" + key; } /** * 密码错误键 * * @param key * @return */ public static String signPwdError(String key) { return "sign:pwdError:" + key; } /** * 锁定用户键 * * @param key * @return */ public static String signLockUser(String key) { return "sso:lockUser:" + key; } }