fix:1、添加sdk。2、修复bug

This commit is contained in:
barry
2026-06-11 18:30:41 +08:00
parent fcf9128dd3
commit 570f4635f2
1240 changed files with 111200 additions and 39704 deletions
@@ -1,4 +1,5 @@
using SGModule.Common.Helper;
using IgnoreOPS;
using SGModule.Common.Helper;
using UnityEngine.Events;
namespace SGModule.NetKit {
@@ -113,6 +114,19 @@ namespace SGModule.NetKit {
onCompleted?.Invoke(response.IsSuccess, response.Data);
});
}
public static void SetClickAdEvent<T>(string link, string type, UnityAction<bool, T> onCompleted = null)
{
var info = new H5sendClass
{
link = link,
type = type
};
NetKit.Instance.Post<T>("event/h5Clicks", info,
response => {
onCompleted?.Invoke(response.IsSuccess, response.Data);
});
}
#endregion