diff --git a/Myshipping.Application/Helper/YardDataHelper.cs b/Myshipping.Application/Helper/YardDataHelper.cs index b4cb5b49..dfc6da47 100644 --- a/Myshipping.Application/Helper/YardDataHelper.cs +++ b/Myshipping.Application/Helper/YardDataHelper.cs @@ -40,7 +40,7 @@ namespace Myshipping.Application.Helper if (tenantUserName == null || tenantPwd == null) { - return new KeyValuePair(false, "未找到青岛港用户名、密码配置"); + return new KeyValuePair(false, "未找到青岛港用户名、密码配置,请通过租户参数配置"); } qduname = tenantUserName.ItemCode; diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskManageTruckService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskManageTruckService.cs index 4304180c..67851b44 100644 --- a/Myshipping.Application/Service/TaskManagePlat/TaskManageTruckService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/TaskManageTruckService.cs @@ -699,7 +699,7 @@ namespace Myshipping.Application /// /// 派车主键 /// 返回回执 - [HttpPost("/TaskManageTruck/SendDispatch")] + [HttpGet("/TaskManageTruck/SendDispatch")] public async Task SendDispatch(string pkId) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); @@ -799,7 +799,7 @@ namespace Myshipping.Application /// Task任务主键组 /// 返回回执 [HttpPost("/TaskManageTruck/SendDispatchBatchByTask")] - public async Task SendDispatchBatchByTask(string[] taskPkIds) + public async Task SendDispatchBatchByTask([FromBody] string[] taskPkIds) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); @@ -832,7 +832,7 @@ namespace Myshipping.Application List msgList = new List(); - taskList.ForEach(async a => { + taskList.ForEach(a => { var rlt = a.Result; if (!rlt.succ) @@ -1097,7 +1097,7 @@ namespace Myshipping.Application /// Task任务主键组 /// 返回回执 [HttpPost("/TaskManageTruck/CancelDispatchBatchByTask")] - public async Task CancelDispatchBatchByTask(string[] taskPkIds) + public async Task CancelDispatchBatchByTask([FromBody] string[] taskPkIds) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); @@ -1130,7 +1130,7 @@ namespace Myshipping.Application List msgList = new List(); - taskList.ForEach(async a => { + taskList.ForEach(a => { var rlt = a.Result; if (!rlt.succ)