RedisCacheKeyPreConstants.java 1.14 KB
package cn.com.glsx.entmicro.constants;

/**
 * @Author yelq
 * @Version 1.0
 * @Description: redis缓存键前缀
 * @Date 2022/7/5 18:00
 */
public class RedisCacheKeyPreConstants {
    private static final String projectPre = "rpc-scrm-entmicro:";
    // 门店号查询工厂门店号前缀
    public static final String merchantKey = projectPre+"merchant_id_";
    public static final long merchantKeyTimeout = 60*60*24L;
    // 门店号查询商户详情
    public static final String merchantDetailKey = projectPre+"merchant_detail_";
    public static final long merchantDetailKeyTimeout = 60*60*24L;
    // 字典获取前缀
    public static final String dictionariesKey = projectPre+"dictionaries_key_";
    public static final long dictionariesKeyTimeout = 60*60*24L;
    // 群发素材回显获取前缀
    public static final String massAttachmentKey = projectPre+"mass_attachment_key_";
    public static final long massAttachmentKeyTimeout = 60*60*24L;
    // 服务商获取前缀
    public static final String operationAttachmentKey = projectPre+"operation_attachment_key_";
    public static final long operationhmentKeyTimeout = 60*60*24L;
}