Void_F před 2 týdny
rodič
revize
4c59da7ff5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Assets/Scripts/HttpHelper.cs

+ 1 - 1
Assets/Scripts/HttpHelper.cs

@@ -1328,7 +1328,7 @@ public class HttpHelper : MonoBehaviour
     public async Task<string> GetDeviceTrend(int type, string gid, string sid, string beginTime, string endTime)
     {
         string cmdUrl = ServerAddress.APIGetDeviceTrend;
-        cmdUrl += $"/{(type==0?"buyuan":"taokou")}/{gid}/{sid}?beginTime={beginTime}&endTime{endTime}";
+        cmdUrl += $"/{(type==0?"buyuan":"taokou")}/{gid}/{sid}?beginTime={beginTime}&endTime={endTime}";
         UnityWebRequest www = new UnityWebRequest(cmdUrl, "Get");
         www.downloadHandler = new DownloadHandlerBuffer();
         www.SetRequestHeader("Content-Type", "application/json");