林豪 左 2 年之前
父節點
當前提交
646b45eb17
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,