bingo b面修改

This commit is contained in:
2026-05-08 11:03:00 +08:00
parent ad5920ac6a
commit 5d32fd56f4
1780 changed files with 36187 additions and 73978 deletions
+10 -10
View File
@@ -39,10 +39,10 @@ public class NetworkKit
var requestJson = SerializeUtil.ToJsonIndented(requestData);
var url2 = url;
#if BingoBrainRelease
// #if BingoBrainRelease
url2 = Base64Kit.Encode(url);
requestJson = Base64Kit.Encode(requestJson);
#endif
// #endif
var bytes = Encoding.UTF8.GetBytes(requestJson);
var url1 = BingoBrain.Network.domainUrl + url2;
//Debug.Log($"Url: {url1}");
@@ -69,14 +69,14 @@ public class NetworkKit
else
{
var receiveContent = loginRequest.downloadHandler.text;
#if BingoBrainRelease
// #if BingoBrainRelease
if (!receiveContent.IsNullOrWhiteSpace())
{
receiveContent = receiveContent.Substring(0, receiveContent.Length - 1);
receiveContent = receiveContent.Substring(1);
receiveContent = Base64Kit.Decode(receiveContent);
}
#endif
// #endif
//Debug.Log(url + "--------" + loginRequest.downloadHandler.text);
//Debug.Log(url + "--------" + receiveContent);
@@ -242,12 +242,12 @@ public class NetworkKit
buriedPointObject.@event = eventname;
buriedPointObject.property = eventproperty;
buriedPointObject.n = integer;
PostWithHeader<BuriedPointObject>("/event/incrN", buriedPointObject, (isSuccess, obj) =>
{
// Debug.Log(isSuccess);
// Debug.Log(eventproperty);
//Debug.Log(JsonUtility.ToJson(obj));
});
// PostWithHeader<BuriedPointObject>("/event/incrN", buriedPointObject, (isSuccess, obj) =>
// {
// // Debug.Log(isSuccess);
// // Debug.Log(eventproperty);
// //Debug.Log(JsonUtility.ToJson(obj));
// });zhushi
}
public static BuriedPointObject buriedPointObject = new BuriedPointObject();