CacheKeyHelper.java 380 Bytes
package com.yohoufo.user.cache;

public class CacheKeyHelper {

    public static String getInboxRedisHashKey(Integer type,int page,int limit) {
        String strType = null == type ?"N":type.toString();
        return strType+"_"+page+"_"+limit;
    }

    public static String getInboxTotalRedisHashKey(Integer type) {
        return null == type ?"N":type.toString();
    }
}