From f40a816cc414fc4f30d67626d060d90fdc5eaca3 Mon Sep 17 00:00:00 2001 From: "Liubing\\LB" Date: Tue, 15 Sep 2026 16:25:44 +0800 Subject: [PATCH] update:uplog --- Client/Assets/Scripts/Core/CustomServerMgr.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Client/Assets/Scripts/Core/CustomServerMgr.cs b/Client/Assets/Scripts/Core/CustomServerMgr.cs index e0bff5efa..2434536d0 100644 --- a/Client/Assets/Scripts/Core/CustomServerMgr.cs +++ b/Client/Assets/Scripts/Core/CustomServerMgr.cs @@ -55,10 +55,11 @@ public class CustomServerMgr : ICustomServerMgr { try { - //#if UNITY_EDITOR - // Debug.Log("CustomServerPost url:" + url); - // Debug.Log("CustomServerPost bodyString:" + bodyString); - //#endif + #if UNITY_EDITOR + Debug.Log("client.BaseAddress.AbsoluteUri:" + client.BaseAddress.AbsoluteUri); + Debug.Log("CustomServerPost url:" + url); + Debug.Log("CustomServerPost bodyString:" + bodyString); + #endif var content = new StringContent(bodyString, Encoding.UTF8, "application/json"); var response = await client.PostAsync(url, content); string result = await response.Content.ReadAsStringAsync();