修改问题
This commit is contained in:
parent
bc86767caa
commit
59d020c430
|
|
@ -215,7 +215,7 @@ namespace CloudGaming.Code.Game
|
|||
var degameIds = await UserInfo.GetUserGameCollect(Dao, RedisCache);
|
||||
degameIds.Remove(gameId);
|
||||
await this.SaveUserInfoCacheChangesAsync();
|
||||
return new BaseResponse<bool>(ResonseCode.Success, "取消收藏成功");
|
||||
return new BaseResponse<bool>(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<bool>(ResonseCode.Success, "收藏成功");
|
||||
return new BaseResponse<bool>(ResonseCode.Success, "收藏成功", true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user