修改任务

optimize
jianghaiqing 2 years ago
parent 570870d4c1
commit c562209cd7

@ -1227,7 +1227,7 @@ namespace Myshipping.Application
/// <param name="PKIds">任务主键数组</param>
/// <returns>返回结果</returns>
[HttpPost("/TaskManage/CompleteTask")]
public async Task<TaskManageOrderResultDto> CompleteTask(string[] PKIds)
public async Task<TaskManageOrderResultDto> CompleteTask([FromQuery]string[] PKIds)
{
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
@ -1335,7 +1335,7 @@ namespace Myshipping.Application
/// <param name="PKIds">任务主键数组</param>
/// <returns>返回结果</returns>
[HttpPost("/TaskManage/CancelTask")]
public async Task<TaskManageOrderResultDto> CancelTask(string[] PKIds)
public async Task<TaskManageOrderResultDto> CancelTask([FromQuery] string[] PKIds)
{
TaskManageOrderResultDto result = new TaskManageOrderResultDto();

Loading…
Cancel
Save