From 9ae39bad348da87448aa3e578ac9677d655777f3 Mon Sep 17 00:00:00 2001 From: edy Date: Fri, 10 Jul 2026 10:24:05 +0800 Subject: [PATCH] tijiao --- Assets/Scripts/ConfigSystem_sdk.cs | 2 +- Assets/Scripts/SdkManager.cs | 30 ++++++++++++++++++++---------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/Assets/Scripts/ConfigSystem_sdk.cs b/Assets/Scripts/ConfigSystem_sdk.cs index 1be7669..8f16147 100644 --- a/Assets/Scripts/ConfigSystem_sdk.cs +++ b/Assets/Scripts/ConfigSystem_sdk.cs @@ -138,8 +138,8 @@ namespace BingoBrain // SdkManager.Instance.SetBtn(ConfigSystem.GetConfig().propCoord[0], ConfigSystem.GetConfig().propCoord[1], 60, 60); // SdkManager.Instance.SetPadding(0, top_offset / GRoot.inst.height, 0, buttom_offset / GRoot.inst.height); SdkManager.Instance.SetDarkThough(true); + SdkManager.Instance.RefreshUrl(); SdkManager.Instance.ShowH5View(false); - SdkManager.Instance.RefreshUrl(); } } public int GetRegisteredCalendarDaysByUTC(long regTimeTimestamp) diff --git a/Assets/Scripts/SdkManager.cs b/Assets/Scripts/SdkManager.cs index ef17814..49c6183 100644 --- a/Assets/Scripts/SdkManager.cs +++ b/Assets/Scripts/SdkManager.cs @@ -131,14 +131,10 @@ namespace DontConfuse // Debug.Log("Touch click: " + name); GameDispatcher.Instance.Dispatch(BingoInfo.H5ViewClickBtn, name); } - public void H5AutoRefresh(string string_xcode) + public void H5AutoRefresh(string string_xcode) { - - Debug.Log("string_xcode" + string_xcode); - if (string_xcode.Contains("|h5")) { - Debug.Log(JsonConvert.SerializeObject(light_restoredList)); string[] _string_arr = string_xcode.Split("|"); if (_string_arr.Length >= 2) { @@ -151,9 +147,16 @@ namespace DontConfuse PlayerPrefs.SetString("Dailyrefreshnum", str); break; } - } + H5sendClass info = new H5sendClass() { link = _string_arr[0], type = "h5" }; + NetworkKit_sdk.PostWithHeader("event/h5Impressions", info, (isSuccess, obj) => + { + if (isSuccess) + { + Debug.Log("发送成功" + _string_arr[0]); + } + }); } } else if (string_xcode.Contains("|h6")) @@ -172,17 +175,24 @@ namespace DontConfuse PlayerPrefs.SetString("Darkrefreshnum", string.Join(";", dark_restoredList.Select(row => string.Join(",", row)))); break; } + } + } + + H5sendClass info = new H5sendClass() { link = _string_arr[0], type = "h6" }; + NetworkKit_sdk.PostWithHeader("event/h5Impressions", info, (isSuccess, obj) => + { + if (isSuccess) + { + Debug.Log("发送成功" + _string_arr[0]); } - - } + }); } - } - } + private GList select_glist; private float select_glist_y; public void TouchClickPoint(string name)