| | |
| | | { |
| | | [SerializeField] InputField input; |
| | | [SerializeField] Button receiveBtn; |
| | | const string exchangeUrl = "http://xssgcenter.secondworld.net.cn:53003/Coupon/CouponCode.php?"; |
| | | const string exchangeUrl = "http://gamecenter.secondworld.net.cn:53003/Coupon/CouponCode.php?"; |
| | | bool isCool = false; |
| | | float time = 0; |
| | | |
| | |
| | | { |
| | | isCool = true; |
| | | var tables = new Dictionary<string, string>(); |
| | | tables["channel"] = VersionConfig.Get().appId; |
| | | tables["channel"] = VersionConfig.config.appId; |
| | | tables["code"] = passward; |
| | | #if UNITY_EDITOR |
| | | tables["accid"] = LoginManager.Instance.accountBuf; |
| | |
| | | #endif |
| | | tables["sid"] = ServerListCenter.Instance.currentServer.region_flag.ToString(); |
| | | tables["pushurl"] = ServerListCenter.Instance.currentServer.region_domain; |
| | | tables["spid"] = VersionConfig.Get().SpID; |
| | | tables["spid"] = VersionConfig.config.SpID; |
| | | tables["roleid"] = UIHelper.ServerStringTrim(PlayerDatas.Instance.baseData.PlayerName); |
| | | tables["level"] = PlayerDatas.Instance.baseData.LV.ToString(); |
| | | tables["viplevel"] = PlayerDatas.Instance.baseData.VIPLv.ToString(); |