package com.om.constant;

public class RedisConstant {
    /**
    * 格式：token:admin:管理员id
     * */
    public static final String ADMIN_TOKEN_PREFIX = "token:admin:";
    public static final Long ADMIN_TOKEN_TTL = 86400L;//24小时


    /**
     * 格式：token:admin:管理员id
     * */
    public static final String USER_TOKEN_PREFIX = "token:user:";
    public static final Long USER_TOKEN_TTL = 86400L;//24小时
}
