From 78bfe524ea4776c47f6314e56e97f39970b00fce Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 25 九月 2018 15:07:07 +0800
Subject: [PATCH] Merge branch 'master' into 1871天赋功能

---
 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