/// <summary> /// 清除CacheKey /// </summary> /// <param name="favorite"></param> internal static void RefreshCachedFavorite(Favorite favorite) { HHCache.Instance.Remove(CacheKeyManager.GetFavoriteKey(favorite.FavoriteID)); HHCache.Instance.Remove(CacheKeyManager.GetFavoritePrefix(favorite.UserID)); RefreshCachedFavorite(); }