//从集合中模糊查找 public static List <Object> SetSearch(string key, int cursor, string pattern, int count) { var value = new List <object>(); if (RedisWriteHelper.KeyExists(key)) { value = RedisWriteHelper.SetScan(key, cursor, pattern, count); } return(value); }