fix:1、添加H5

This commit is contained in:
barry
2026-05-25 09:45:16 +08:00
parent 8144a27fdb
commit 5f68fe42c1
276 changed files with 46771 additions and 27478 deletions
@@ -1,4 +1,5 @@
using SGModule.Common.Helper;
using DontConfuse;
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