少年修仙传客户端代码仓库
client_Hale
2018-11-19 e5e9dcc7d02b7d7ca8d67f5083292c8e7129e346
Core/SDK/SDKUtility.cs
@@ -23,6 +23,7 @@
        Mr = 2,// 猫耳
        Sp = 3,// 思璞
        Js = 4,// 极速
        Yj = 5,// 易接
    }
    public E_ChannelPlatform ChannelPlatform { get; set; }
@@ -355,6 +356,10 @@
                        {
                            ChannelPlatform = E_ChannelPlatform.Js;
                        }
                        else if (_channelPlatform.Equals("yj"))
                        {
                            ChannelPlatform = E_ChannelPlatform.Yj;
                        }
                    }
                }
                break;
@@ -590,6 +595,8 @@
        public int accountID;
        public string timeStamp;
        public string sessionID;
        public string yjAppId;
        public string yjSdkId;
    }
    public struct FP_CheckIDAuthentication
@@ -695,6 +702,14 @@
        else if (ChannelPlatform == E_ChannelPlatform.Sp)
        {
            m_PaymentTable["RechargeChannel"] = "2";
        }
        else if (ChannelPlatform == E_ChannelPlatform.Js)
        {
            m_PaymentTable["RechargeChannel"] = "3";
        }
        else if (ChannelPlatform == E_ChannelPlatform.Yj)
        {
            m_PaymentTable["RechargeChannel"] = "5";
        }
        var _stringBuilder = new System.Text.StringBuilder();
@@ -879,6 +894,16 @@
            FreePlatformInfo.timeStamp = (string)json["timeStamp"];
        }
        if (_iDict.Contains("yjSdkId"))
        {
            FreePlatformInfo.yjSdkId = (string)json["yjSdkId"];
        }
        if (_iDict.Contains("yjAppId"))
        {
            FreePlatformInfo.yjAppId = (string)json["yjAppId"];
        }
        FreePlatformInfo.phone = 0;
    }