改bug
This commit is contained in:
@@ -83,7 +83,7 @@ public class NetworkKit_sdk
|
|||||||
|
|
||||||
// Debug.Log(url + "--------" + loginRequest.downloadHandler.text);
|
// Debug.Log(url + "--------" + loginRequest.downloadHandler.text);
|
||||||
Debug.Log(url + "--------" + receiveContent);
|
Debug.Log(url + "--------" + receiveContent);
|
||||||
var response =JsonConvert.DeserializeObject<ResponseData_sdk>(receiveContent);
|
var response = JsonConvert.DeserializeObject<ResponseData_sdk>(receiveContent);
|
||||||
|
|
||||||
if (response?.code == 0)
|
if (response?.code == 0)
|
||||||
{
|
{
|
||||||
@@ -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";
|
||||||
|
|||||||
@@ -147,6 +147,15 @@ namespace DontConfuse
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
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]);
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -170,6 +179,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]);
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -365,9 +384,9 @@ namespace DontConfuse
|
|||||||
Debug.Log(light_str);
|
Debug.Log(light_str);
|
||||||
Debug.Log(layer_click_probability);
|
Debug.Log(layer_click_probability);
|
||||||
Debug.Log(add_time);
|
Debug.Log(add_time);
|
||||||
addH5Field(0,0,
|
addH5Field(0, 0,
|
||||||
UnityEngine.Random.Range(ConfigSystem_sdk.Instance.SDKConfig.h5Conf.f5Interval.min, ConfigSystem_sdk.Instance.SDKConfig.h5Conf.f5Interval.max + 1), -1, -1
|
UnityEngine.Random.Range(ConfigSystem_sdk.Instance.SDKConfig.h5Conf.f5Interval.min, ConfigSystem_sdk.Instance.SDKConfig.h5Conf.f5Interval.max + 1), -1, -1
|
||||||
, darkWVRefreshtime_str, "", dark_str, light_str,true, layer_click_probability, add_time);
|
, darkWVRefreshtime_str, "", dark_str, light_str, true, layer_click_probability, add_time);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user