Void_F il y a 2 semaines
Parent
commit
4c59da7ff5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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");