コード例 #1
0
 /// <summary>
 /// 读取缓存
 /// </summary>
 /// <param name="cacheKey">键</param>
 /// <returns></returns>
 public T Read <T>(string cacheKey, long dbId = 0) where T : class
 {
     return(RedisCache.Get <T>(RedisPrev + cacheKey, dbId));
 }