修复问题

This commit is contained in:
zpc 2024-11-29 01:55:45 +08:00
parent 9621d635d9
commit e4f13fab6c

View File

@ -142,7 +142,7 @@ public class PlayGameBLL : CloudGamingBase
await Dao.DaoPhone.Context.T_User_GameList.AddAsync(userGameList);
await Dao.DaoPhone.Context.SaveChangesAsync();
gameInfoCache?.PlayGameStart(gameResponse?.Data?.ScId ?? 0, userGameList.Id, playGameSettings.DisplayGrade, jyResponseData);
gameInfoCache.Ip = playGameSettings.Ip;
gameInfoCache.Ip = HttpContextAccessor.HttpContext.GetClientIpAddress();
var gameResponse1 = JsonConvert.DeserializeObject<Dictionary<string, object>>(jyResponseData.ResponseContent);
if (gameResponse1 != null && gameResponse1.TryGetValue("data", out var xxx))
{