ios以及bug处理

This commit is contained in:
CaiYanPeng 2021-10-12 20:26:25 +08:00
parent d4326ffb42
commit 2f0291836e

View File

@ -535,10 +535,14 @@ public class LoginController : BaseScene
var rr = await ConfigHelper.userApi.GetVersions();
if (rr.result)
{
#if UNITY_ANDROID
var info = rr.data.Value<JObject>("UnityApk");
if (info.Value<string>("Url") != App.AppVersion) return;
#elif UNITY_IOS
var info = rr.data.Value<JObject>("UnityIos");
#endif
if (info.Value<string>("Version") != App.AppVersion) return;
}
Debug.Log(545);
var ver = r.data.Value<JObject>("Version").ToObject<UpdateModel>();
if (ver.UpdateLog.Count != notifyId) //ver.UpdateLog.Count != notifyId
{
@ -555,7 +559,7 @@ public class LoginController : BaseScene
UIManager.ShowNewsModal();
}
#endif
}
}
GetRotateImage();
}