浏览代码

改个接口大小写

Void_F 4 月之前
父节点
当前提交
5cad95975b
共有 2 个文件被更改,包括 6 次插入7 次删除
  1. 3 5
      Assets/Scripts/UI/Tools/ServerAddress.cs
  2. 3 2
      Assets/Scripts/UI/UIView/GCYW/GCYWLayer.cs

+ 3 - 5
Assets/Scripts/UI/Tools/ServerAddress.cs

@@ -106,11 +106,9 @@ public class ServerAddress
     public static string API_B08_event = YZTServerAddress + "/open/event?projectId=";
     public static string API_B08_questionStatis = YZTServerAddress + "/open/questionStatis?projectId=";
     //public static string API_B08_inspectType = YZTServerAddress + "/open/inspectType?projectId=";
-    //只有补元的 先写死了
-    public static string API_B08_inspectType = YZTServerAddress + "/open/xunjianType?projectId=";
-    
-    //拿任务详细信息 (看起来是乱嗨写的)
-    public static string API_B08_taskInfo = YZTServerAddress + "/open/xunjianrenwu?projectId=";
+    public static string API_B08_inspectType = YZTServerAddress + "/open/xunjianType?projectid=";
+    //拿任务详细信息
+    public static string API_B08_taskInfo = YZTServerAddress + "/open/xunjianrenwu?projectid=";
   
     /// <summary>
     /// 获取站点水位信息(折线图和信息列表)

+ 3 - 2
Assets/Scripts/UI/UIView/GCYW/GCYWLayer.cs

@@ -181,12 +181,13 @@ public class GCYWLayer : YZTRootLayer
         SetTFSJ_Data();
         SetWTZG_Data();
         SetXJLE_Data();
+        
+        TaskListPanelObj.SetActive(false);
+        taskPhotoPanelObj.SetActive(false);
     }
 
     private async void OnEnable()
     {
-        TaskListPanelObj.SetActive(false);
-        taskPhotoPanelObj.SetActive(false);
         ChangeData(0);
     }