gkj 2 years ago
parent
commit
af15972a73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      WCS.WorkEngineering/WebApi/Controllers/AgvApi.cs

+ 1 - 1
WCS.WorkEngineering/WebApi/Controllers/AgvApi.cs

@@ -131,7 +131,7 @@ namespace WCS.WorkEngineering.WebApi.Controllers
         /// <exception cref="KnownException"></exception>
         public static GenAgvSchedulingTaskResponse GenAgvSchedulingTask(string clienCode, string ctnrCode, string ctnrTyp, List<positionCodeClass> positionCodePath, string priority, string taskCode, string taskType, string hjTaskTy)
         {
-            var res = APICaller.CallApi2<GenAgvSchedulingTaskResponse>(AgvUrl + "/rcms/services/rest/hikRpcService/genAgvSchedulingTask", new GenAgvSchedulingTaskRequest
+            var res = APICaller.CallApi<GenAgvSchedulingTaskResponse>(AgvUrl + "/rcms/services/rest/hikRpcService/genAgvSchedulingTask", new GenAgvSchedulingTaskRequest
             {
                 clientCode = clienCode,
                 ctnrCode = ctnrCode,