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