From aaa822b7f20f04d9ae00fff5efa6c2ec7e2cd83c Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 02 七月 2025 19:51:08 +0800
Subject: [PATCH] 0312 新sdk

---
 Project/qk_sdk/src/game_qk/java/com/secondworld/universalsdk/QuickPlatformUtil.java |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Project/qk_sdk/src/game_qk/java/com/secondworld/universalsdk/QuickPlatformUtil.java b/Project/qk_sdk/src/game_qk/java/com/secondworld/universalsdk/QuickPlatformUtil.java
index e04011b..fbb5698 100644
--- a/Project/qk_sdk/src/game_qk/java/com/secondworld/universalsdk/QuickPlatformUtil.java
+++ b/Project/qk_sdk/src/game_qk/java/com/secondworld/universalsdk/QuickPlatformUtil.java
@@ -76,14 +76,15 @@
 
                 //鏍规嵁鍥炶皟鑾峰彇鐢ㄦ埛淇℃伅
                 String token = USER.getToken();
-                String userId = USER.getUID();
+                //閫氱煡鍒皍nity涓殑璐﹀彿宸茬粡鍔犱笂娓犻亾ID,淇濊瘉appid鍜宻pid鍞竴瀵瑰簲
+                String userId = USER.getUID() + "@" + com.quicksdk.Extend.getInstance().getChannelType();
                 String userName = USER.getUserName();
                 try
                 {
                     JSONObject _info = new JSONObject();
                     _info.put("account", userId);
                     _info.put("token", token);
-                    _info.put("userName", userName);
+                    _info.put("userName", USER.getUID());
                     m_Message.put("code", CodeA2U.FreePlatformLoginOk);
                     m_Message.put("info", _info);
                     UniversalUtil.sendMessageToUnity(m_Message);
@@ -132,12 +133,13 @@
 
                 //鏍规嵁鍥炶皟鑾峰彇鐢ㄦ埛淇℃伅
                 String token = USER.getToken();
-                String userId = USER.getUID();
+                //閫氱煡鍒皍nity涓殑璐﹀彿宸茬粡鍔犱笂娓犻亾ID,淇濊瘉appid鍜宻pid鍞竴瀵瑰簲
+                String userId = USER.getUID() + "@" + com.quicksdk.Extend.getInstance().getChannelType();
                 String userName = USER.getUserName();
                 try
                 {
                     JSONObject _info = new JSONObject();
-                    _info.put("userName", userName);
+                    _info.put("userName", USER.getUID());
                     _info.put("token", token);
                     _info.put("account", userId);
                     m_Message.put("code", CodeA2U.FreePlatformSwitchAccountOk);

--
Gitblit v1.8.0