client_Hale
2020-08-29 a5553357956cf8397e5000133971d2d5c3f34741
Project/qk_sdk/src/game_qk/java/com/secondworld/universalsdk/QuickPlatformUtil.java
@@ -75,17 +75,15 @@
                USER = userInfo;
                //根据回调获取用户信息
                String timestamp = USER.getToken();
                String token = USER.getToken();
                String userId = USER.getUID();
                String userName = USER.getUserName();
                try
                {
                    JSONObject _info = new JSONObject();
                    _info.put("account", userName);
                    _info.put("account", userId);
                    _info.put("token", token);
                    _info.put("timeStamp", timestamp);
                    _info.put("account_id", userId);
                    _info.put("userName", userName);
                    m_Message.put("code", CodeA2U.FreePlatformLoginOk);
                    m_Message.put("info", _info);
                    UniversalUtil.sendMessageToUnity(m_Message);
@@ -133,17 +131,15 @@
                USER = userInfo;
                //根据回调获取用户信息
                String timestamp = USER.getToken();
                String token = USER.getToken();
                String userId = USER.getUID();
                String userName = USER.getUserName();
                try
                {
                    JSONObject _info = new JSONObject();
                    _info.put("account", userName);
                    _info.put("userName", userName);
                    _info.put("token", token);
                    _info.put("timeStamp", timestamp);
                    _info.put("account_id", userId);
                    _info.put("account", userId);
                    m_Message.put("code", CodeA2U.FreePlatformSwitchAccountOk);
                    m_Message.put("info", _info);
                    UniversalUtil.sendMessageToUnity(m_Message);
@@ -205,7 +201,7 @@
            public void onSuccess() {
                //退出成功,游戏在此做自身的退出逻辑处理
                m_Message.clear();
                m_Message.put("code", CodeA2U.FreePlatformExit);
                m_Message.put("code", CodeA2U.ExitGame);
                UniversalUtil.sendMessageToUnity(m_Message);
                payProcessing = false;
            }