From 70308e889e2da4cdfe7897957a4ae20b4b91dabe Mon Sep 17 00:00:00 2001 From: chenxiangxue <910695411@qq.com> Date: Fri, 19 Jul 2024 14:08:50 +0800 Subject: [PATCH] =?UTF-8?q?s=E5=88=A0=E6=8E=89=E6=B2=A1=E7=94=A8=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Scripts/Data/RequestBase.cs | 12 ------------ .../Assets/StreamingAssets/method.txt | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/BulkCargo_UnityProject/Assets/Scripts/Data/RequestBase.cs b/BulkCargo_UnityProject/Assets/Scripts/Data/RequestBase.cs index c3670b7d..14b3fc41 100644 --- a/BulkCargo_UnityProject/Assets/Scripts/Data/RequestBase.cs +++ b/BulkCargo_UnityProject/Assets/Scripts/Data/RequestBase.cs @@ -70,18 +70,6 @@ public static class RequestBase Debug.Log("method 0"); using (UnityWebRequest webRequest = new UnityWebRequest()) { - if (_quary_datas != null) - { - _url = _url + "?"; - foreach (var item in _quary_datas) - { - _url = string.Format("{0}{1}={2}&", _url, item.Key, item.Value); - } - } - _url = _url.TrimEnd('&'); - - UnityEngine.Debug.Log(_url); - webRequest.url = _url; webRequest.method = "GET"; diff --git a/BulkCargo_UnityProject/Assets/StreamingAssets/method.txt b/BulkCargo_UnityProject/Assets/StreamingAssets/method.txt index c2270834..56a6051c 100644 --- a/BulkCargo_UnityProject/Assets/StreamingAssets/method.txt +++ b/BulkCargo_UnityProject/Assets/StreamingAssets/method.txt @@ -1 +1 @@ -0 \ No newline at end of file +1 \ No newline at end of file