修复问题
This commit is contained in:
parent
9621d635d9
commit
e4f13fab6c
|
|
@ -142,7 +142,7 @@ public class PlayGameBLL : CloudGamingBase
|
||||||
await Dao.DaoPhone.Context.T_User_GameList.AddAsync(userGameList);
|
await Dao.DaoPhone.Context.T_User_GameList.AddAsync(userGameList);
|
||||||
await Dao.DaoPhone.Context.SaveChangesAsync();
|
await Dao.DaoPhone.Context.SaveChangesAsync();
|
||||||
gameInfoCache?.PlayGameStart(gameResponse?.Data?.ScId ?? 0, userGameList.Id, playGameSettings.DisplayGrade, jyResponseData);
|
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);
|
var gameResponse1 = JsonConvert.DeserializeObject<Dictionary<string, object>>(jyResponseData.ResponseContent);
|
||||||
if (gameResponse1 != null && gameResponse1.TryGetValue("data", out var xxx))
|
if (gameResponse1 != null && gameResponse1.TryGetValue("data", out var xxx))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user