diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskManageService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskManageService.cs index b7df547d..b607b6ea 100644 --- a/Myshipping.Application/Service/TaskManagePlat/TaskManageService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/TaskManageService.cs @@ -1227,7 +1227,7 @@ namespace Myshipping.Application /// 任务主键数组 /// 返回结果 [HttpPost("/TaskManage/CompleteTask")] - public async Task CompleteTask(string[] PKIds) + public async Task CompleteTask([FromQuery]string[] PKIds) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); @@ -1335,7 +1335,7 @@ namespace Myshipping.Application /// 任务主键数组 /// 返回结果 [HttpPost("/TaskManage/CancelTask")] - public async Task CancelTask(string[] PKIds) + public async Task CancelTask([FromQuery] string[] PKIds) { TaskManageOrderResultDto result = new TaskManageOrderResultDto();