From 59d020c430865805b38f9a50c794907fa87e7d77 Mon Sep 17 00:00:00 2001 From: zpc Date: Tue, 19 Nov 2024 18:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CloudGaming/Code/CloudGaming.Code/Game/GameBLL.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CloudGaming/Code/CloudGaming.Code/Game/GameBLL.cs b/src/CloudGaming/Code/CloudGaming.Code/Game/GameBLL.cs index d77fc2f..d0f8878 100644 --- a/src/CloudGaming/Code/CloudGaming.Code/Game/GameBLL.cs +++ b/src/CloudGaming/Code/CloudGaming.Code/Game/GameBLL.cs @@ -215,7 +215,7 @@ namespace CloudGaming.Code.Game var degameIds = await UserInfo.GetUserGameCollect(Dao, RedisCache); degameIds.Remove(gameId); await this.SaveUserInfoCacheChangesAsync(); - return new BaseResponse(ResonseCode.Success, "取消收藏成功"); + return new BaseResponse(ResonseCode.Success, "取消收藏成功", false); } var game = Cache.GameEntityCache[gameId]; if (game == null) @@ -235,7 +235,7 @@ namespace CloudGaming.Code.Game var gameIds = await UserInfo.GetUserGameCollect(Dao, RedisCache); gameIds.Add(gameId); await this.SaveUserInfoCacheChangesAsync(); - return new BaseResponse(ResonseCode.Success, "收藏成功"); + return new BaseResponse(ResonseCode.Success, "收藏成功", true); } ///