GlobalRedisProperties.java 647 Bytes
package com.trash.garbage.global;

/**
 * @author 20412
 */
public enum GlobalRedisProperties {
    REDIS_USER_CODE("code:","验证码请求头"),
    REDIS_USER_HEADER("login:user:","用户的redis头部标签"),
    REDIS_USER_COUNT("count","用户在线人数"),
    REDIS_USER_CACHE_VALUE("user:cache","用户信息缓存value"),
    REDIS_USER_CACHE_KEY("plan","用户计划缓存");

    private String value;
    private String description;

    GlobalRedisProperties(String value, String description) {
        this.value = value;
        this.description = description;
    }

    public String getValue() {
        return value;
    }
}