yyl
2026-05-11 51b0f6ed9f4e1d3bb6f8144470b46908c7699a96
Main/System/PlayerProfile/ExchangeCodeWin.cs
@@ -6,7 +6,14 @@
{
    [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?";
#if TEST_URL
    const string exchangeUrl = "http://gamecenter.secondworld.net.cn:53003/center/CouponCode.php/?";
#else
    const string exchangeUrl = "http://xssgcenter.secondworld.net.cn:53003/center/CouponCode.php/?";
#endif
    bool isCool = false;
    float time = 0;
@@ -61,7 +68,7 @@
        {
            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;
@@ -71,11 +78,11 @@
#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();
            HttpRequest.Instance.RequestHttpGet(StringUtility.Contact(exchangeUrl, HttpRequest.HashtablaToString(tables)), HttpRequest.defaultHttpContentType, 1, null);
            HttpRequest.Instance.RequestHttpGet(StringUtility.Concat(exchangeUrl, HttpRequest.HashtablaToString(tables)), HttpRequest.defaultHttpContentType, 1, null);
        }
        // if (passward.Length > 1)
        // {