RedisKeyConstant.java 505 Bytes
Newer Older
苗卫卫 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
package com.starcharge.base.redis;

/**
 * redis中key的定义类
 * 
 * @author lilin
 * @version [版本号, 2020年5月11日]
 */
public class RedisKeyConstant {
    /**
     * token前缀
     */
    // public static final String REDIS_TOKEN_PREFIX = "auth:account:";

    /**
     * lock前缀
     */
    public static final String REDIS_LOCK_PREFIX = "tmp:lock:";

    /**
     * 图形验证码前缀
     */
    public static final String REDIS_IMAGE_CAPTCHA_PREFIX = "mobile:JCaptchaCache_";
}