| Core/SDK/SDKUtility.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Login/LoginModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/SDK/SDKUtility.cs
@@ -29,6 +29,7 @@ Yl = 6,// 易乐 Xn = 7,// 小牛 Cjm = 8,// 超级梦 Ky = 9,//恺英 } public E_ChannelPlatform ChannelPlatform { get; set; } @@ -364,6 +365,9 @@ else if (ChannelPlatform == E_ChannelPlatform.Yl) { _result = "yileplatform"; }else if(ChannelPlatform == E_ChannelPlatform.Ky) { _result = "kyplatform"; } else if (ChannelPlatform == E_ChannelPlatform.Xn) { @@ -493,6 +497,9 @@ else if (_channelPlatform.Equals("cjm")) { ChannelPlatform = E_ChannelPlatform.Cjm; }else if(_channelPlatform.Equals("ky")) { ChannelPlatform = E_ChannelPlatform.Ky; } } } @@ -528,8 +535,13 @@ ThirdPartAppID = _json["cjmappid"].ToString(); } } else if (ChannelPlatform == E_ChannelPlatform.Ky) { if (_dict.Contains("kyAppID")) { ThirdPartAppID = _json["kyAppID"].ToString(); } } if (_dict.Contains("banhao")) { System/Login/LoginModel.cs
@@ -344,6 +344,11 @@ send.IDType = 8; send.Extra += ("|" + SDKUtility.ThirdPartAppID + "|" + SDKUtility.Instance.FreePlatformInfo.token); send.ExtraLen = (byte)send.Extra.Length; }else if(SDKUtility.Instance.ChannelPlatform == SDKUtility.E_ChannelPlatform.Ky) { send.IDType = 9; send.Extra += ("|" + SDKUtility.ThirdPartAppID); send.ExtraLen = (byte)send.Extra.Length; } send.AccID = sdkLoginResult.account; if (SDKUtility.Instance.ChannelPlatform != SDKUtility.E_ChannelPlatform.Cjm)