浏览代码

http加载日志

guodong 2 年之前
父节点
当前提交
35f7a73a63
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      GameClient/Assets/Game/Launcher/Net/Http/HttpTool.cs

+ 2 - 0
GameClient/Assets/Game/Launcher/Net/Http/HttpTool.cs

@@ -52,6 +52,7 @@ namespace GFGGame
                         if (showWrong)
                         {
                             TryTimesDic.Remove(key);
+                            Debug.Log("get url : " + key);
                             Alert.Show("连接服务器失败:\n请检查网络和服务器状态")
                             .SetRightButton(true, "重试", (object data) =>
                             {
@@ -101,6 +102,7 @@ namespace GFGGame
                         if (showWrong)
                         {
                             TryTimesDic.Remove(key);
+                            Debug.Log(string.Format($"post {key}", url, body));
                             Alert.Show("连接服务器失败:\n请检查网络和服务器状态")
                             .SetRightButton(true, "重试", (object data) =>
                             {