林豪 左 2 years ago
parent
commit
646b45eb17
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

@@ -193,7 +193,7 @@ namespace WCS.WorkEngineering.WebApi.Controllers
         /// <exception cref="KnownException"></exception>
         public static CancelTaskResponse CancelAgvTask(string AGVtaskCode)
         {
-            var res = APICaller.CallApi2<CancelTaskResponse>(AgvUrl + "/rcms/services/rest/hikRpcService/CancelTaskRequest", new CancelTaskRequest
+            var res = APICaller.CallApi2<CancelTaskResponse>(AgvUrl + "/rcms/services/rest/hikRpcService/cancelTask", new CancelTaskRequest
             {
                 reqCode = Guid.NewGuid().ToString().Replace("-", ""),
                 taskCode = AGVtaskCode,