//从Hash中模糊查找 public static List <T> HashSearch <T>(string key, int cursor, string pattern, int count) { var value = new List <T>(); if (RedisWriteHelper.KeyExists(key)) { value = RedisWriteHelper.HashScan <T>(key, cursor, pattern, count); } return(value); }