/// <summary> /// 删除缓存 /// </summary> /// <param name="key"></param> public static bool Delete(string key, long DBIndex) { var manager = new RedisManage((int)DBIndex); return(manager.KeyDelete(key)); }
/// <summary> /// 删除缓存 /// </summary> /// <param name="key"></param> public static bool Delete(string key) { return(manager.KeyDelete(key)); }