fix:1、添加sdk。2、添加h5

This commit is contained in:
2026-06-25 15:48:45 +08:00
parent c05a65cdc3
commit 86518aae41
1212 changed files with 71385 additions and 194 deletions
@@ -115,18 +115,18 @@ namespace SGModule.NetKit {
});
}
// 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);
// });
// }
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