Merge branch 'main' of https://source.jsoncompare.online/tron_wz/WebviewSdk_Unity_IOS
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -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]);
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user