|
@@ -2,7 +2,6 @@
|
|
using ET;
|
|
using ET;
|
|
using UnityEngine;
|
|
using UnityEngine;
|
|
using GFGGame.Launcher;
|
|
using GFGGame.Launcher;
|
|
-using Unity.Plastic.Newtonsoft.Json;
|
|
|
|
|
|
|
|
namespace GFGGame
|
|
namespace GFGGame
|
|
{
|
|
{
|
|
@@ -71,7 +70,7 @@ namespace GFGGame
|
|
ItemCfg costItemCfg = ItemCfgArray.Instance.GetCfg(shopCfg.costId);
|
|
ItemCfg costItemCfg = ItemCfgArray.Instance.GetCfg(shopCfg.costId);
|
|
if (costItemCfg == null)
|
|
if (costItemCfg == null)
|
|
{
|
|
{
|
|
- Log.Error($"recharge {buyID} itemCfgId:{shopCfg.costId} config not found!");
|
|
|
|
|
|
+ Log.Error($"recharge2 {buyID} itemCfgId:{shopCfg.costId} config not found!");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -151,7 +150,8 @@ namespace GFGGame
|
|
{
|
|
{
|
|
|
|
|
|
Debug.Log("Game.HotUpdate ios LoginSuccessAb: " + message);
|
|
Debug.Log("Game.HotUpdate ios LoginSuccessAb: " + message);
|
|
- DouYouIosSdkLoginResModel douYouIosSdkLoginResModel = JsonConvert.DeserializeObject<DouYouIosSdkLoginResModel>(message);
|
|
|
|
|
|
+
|
|
|
|
+ DouYouIosSdkLoginResModel douYouIosSdkLoginResModel = LitJson.JsonMapper.ToObject<DouYouIosSdkLoginResModel>(message);
|
|
if (douYouIosSdkLoginResModel == null)
|
|
if (douYouIosSdkLoginResModel == null)
|
|
{
|
|
{
|
|
Log.Error($"注意,解析登录回调失败,回调的字符串为 {message} douYouIosSdkLoginResModel is null.");
|
|
Log.Error($"注意,解析登录回调失败,回调的字符串为 {message} douYouIosSdkLoginResModel is null.");
|