|
|
@@ -57,7 +57,7 @@ end
|
|
|
|
|
|
function LoginMgr:OnLoginAck(data)
|
|
|
self.logined = true
|
|
|
-
|
|
|
+ LogError("OnLoginAck" .. Inspect(data))
|
|
|
if data.unisdk_login_json ~= nil then
|
|
|
local sdkdata
|
|
|
local ok, errors = RO_XPCALL(function() sdkdata = JSON:decode(data.unisdk_login_json) end, debug.traceback)
|
|
|
@@ -465,7 +465,9 @@ function LoginMgr:StartCheckServer(isAgain)
|
|
|
if not openId or openId == '' then
|
|
|
openId = UnityEngine.PlayerPrefs.GetString("LoginName")
|
|
|
end
|
|
|
- if not openId or openId == '' then
|
|
|
+
|
|
|
+ local platform = ManagerContainer.LuaGameMgr.platform
|
|
|
+ if (not openId or openId == '') and platform ~= "Android_X7" and platform ~= "IOS_X7" then
|
|
|
openId = ManagerContainer.LuaGameMgr.DeviceId
|
|
|
end
|
|
|
ManagerContainer.LuaGameMgr.openId = openId
|