| | |
| | | get; private set;
|
| | | }
|
| | |
|
| | | public static string Yj_Version
|
| | | public static string ThirdPartVersion
|
| | | {
|
| | | get; private set;
|
| | | }
|
| | |
|
| | | public static string Yj_SpID
|
| | | {
|
| | | get; private set;
|
| | | }
|
| | |
|
| | | public static string ThirdPartAppID
|
| | | {
|
| | | get; private set;
|
| | | }
|
| | |
| | | {
|
| | | Yj_AppID = string.Empty;
|
| | | Yj_SpID = string.Empty;
|
| | | Yj_Version = string.Empty;
|
| | | ThirdPartVersion = string.Empty;
|
| | | RegistrationID = string.Empty;
|
| | | AssetCopyFinished = false;
|
| | | ChannelPlatform = E_ChannelPlatform.Free;
|
| | |
| | | {
|
| | | if (_dict.Contains("xnappid"))
|
| | | {
|
| | | Yj_AppID = _json["xnappid"].ToString();
|
| | | ThirdPartAppID = _json["xnappid"].ToString();
|
| | | }
|
| | |
|
| | | if (_dict.Contains("xnversion"))
|
| | | {
|
| | | Yj_Version = _json["xnversion"].ToString();
|
| | | ThirdPartVersion = _json["xnversion"].ToString();
|
| | | }
|
| | | }
|
| | | else if (ChannelPlatform == E_ChannelPlatform.Cjm)
|
| | | {
|
| | | if (_dict.Contains("cjmappid"))
|
| | | {
|
| | | Yj_AppID = _json["cjmappid"].ToString();
|
| | | ThirdPartAppID = _json["cjmappid"].ToString();
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | else if (ChannelPlatform == E_ChannelPlatform.Xn)
|
| | | {
|
| | | m_PaymentTable["RechargeChannel"] = "7";
|
| | | m_PaymentTable["serverName"] = ServerListCenter.Instance.currentServer.name;
|
| | | m_PaymentTable["prodCode"] = cpInfo;
|
| | | m_PaymentTable["prodName"] = title;
|
| | | m_PaymentTable["prodNum"] = "1";
|
| | | m_PaymentTable["prodPrice"] = money.ToString();
|
| | | m_PaymentTable["extraData"] = "";
|
| | | }
|
| | | else if (ChannelPlatform == E_ChannelPlatform.Cjm)
|
| | | {
|
| | |
| | | if (ChannelPlatform == E_ChannelPlatform.Mr)
|
| | | {
|
| | | m_Json["notifyurl"] = _json["notifyurl"];
|
| | | }else if(ChannelPlatform == E_ChannelPlatform.Xn)
|
| | | {
|
| | | if((_json as IDictionary).Contains("cpSign"))
|
| | | {
|
| | | m_Json["cpSign"] = _json["cpSign"];
|
| | | }else
|
| | | {
|
| | | Debug.Log("没有收到cpSign: " + message);
|
| | | }
|
| | | }
|
| | | #if UNITY_IOS
|
| | | m_Json["identifier"] = VersionConfig.Get().bundleIdentifier;
|