From 171ffa7fc097dd3d83d5eca3b34caa82f4ea6f3f Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期四, 20 九月 2018 15:52:39 +0800
Subject: [PATCH] 3646 【前端】思璞游戏SDK接入

---
 System/Login/LoginModel.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/System/Login/LoginModel.cs b/System/Login/LoginModel.cs
index 0f6b94b..427405a 100644
--- a/System/Login/LoginModel.cs
+++ b/System/Login/LoginModel.cs
@@ -286,6 +286,8 @@
                     else if (SDKUtility.Instance.ChannelPlatform == SDKUtility.E_ChannelPlatform.Sp)
                     {
                         send.IDType = 3;
+                        send.ExtraLen = (byte)SDKUtility.Instance.FreePlatformInfo.sessionID.Length;
+                        send.Extra = SDKUtility.Instance.FreePlatformInfo.sessionID;
                     }
                     send.AccID = sdkLoginResult.account;
                     send.Password = sdkLoginResult.token;
@@ -295,6 +297,10 @@
                     send.AppID = VersionConfig.Get().appId;
                     send.AccountID = (uint)sdkLoginResult.accountID;// 鍐呴儴鐧婚檰鐨勬椂鍊欑殑id
                     send.TokenExpire = sdkLoginResult.tokenExpire;// 鍐呴儴鐧婚檰鐨勬椂闀�,鏃犳墍璋撶殑
+                    if (SDKUtility.Instance.ChannelPlatform == SDKUtility.E_ChannelPlatform.Sp)
+                    {
+                        send.TokenExpire = SDKUtility.Instance.FreePlatformInfo.timeStamp;
+                    }
                     send.Phone = (byte)sdkLoginResult.phone;
                     send.ServerID = (uint)ServerListCenter.Instance.currentServer.region_flag;
                     if (sdkIDCheckIDAuthentication.type == "1")

--
Gitblit v1.8.0