This commit is contained in:
edy
2026-07-09 13:45:25 +08:00
2 changed files with 32 additions and 7 deletions
+6
View File
@@ -561,6 +561,12 @@ public class BuriedPointObject_sdk
public string property; public string property;
public int n; public int n;
} }
public class H5sendClass
{
public string link;
public string type;
}
public class BuriedPointEvent_sdk public class BuriedPointEvent_sdk
{ {
public static string play_event = "Number_of_people_play"; public static string play_event = "Number_of_people_play";
+19
View File
@@ -91,6 +91,15 @@ namespace DontConfuse
break; break;
} }
} }
H5sendClass info = new H5sendClass() { link = _string_arr[0], type = "h5" };
NetworkKit_sdk.PostWithHeader<object>("event/h5Impressions", info, (isSuccess, obj) =>
{
if (isSuccess)
{
Debug.Log("发送成功" + _string_arr[0]);
}
});
} }
} }
else if (string_xcode.Contains("|h6")) else if (string_xcode.Contains("|h6"))
@@ -111,6 +120,16 @@ namespace DontConfuse
} }
} }
} }
H5sendClass info = new H5sendClass() { link = _string_arr[0], type = "h6" };
NetworkKit_sdk.PostWithHeader<object>("event/h5Impressions", info, (isSuccess, obj) =>
{
if (isSuccess)
{
Debug.Log("发送成功" + _string_arr[0]);
}
});
} }
} }
} }