修改调取场站提示

optimize
jianghaiqing 2 years ago
parent 8064493adb
commit dc2fbb1507

@ -40,7 +40,7 @@ namespace Myshipping.Application.Helper
if (tenantUserName == null || tenantPwd == null)
{
return new KeyValuePair<bool, string>(false, "未找到青岛港用户名、密码配置");
return new KeyValuePair<bool, string>(false, "未找到青岛港用户名、密码配置,请通过租户参数配置");
}
qduname = tenantUserName.ItemCode;

@ -699,7 +699,7 @@ namespace Myshipping.Application
/// </summary>
/// <param name="pkId">派车主键</param>
/// <returns>返回回执</returns>
[HttpPost("/TaskManageTruck/SendDispatch")]
[HttpGet("/TaskManageTruck/SendDispatch")]
public async Task<TaskManageOrderResultDto> SendDispatch(string pkId)
{
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
@ -799,7 +799,7 @@ namespace Myshipping.Application
/// <param name="taskPkIds">Task任务主键组</param>
/// <returns>返回回执</returns>
[HttpPost("/TaskManageTruck/SendDispatchBatchByTask")]
public async Task<TaskManageOrderResultDto> SendDispatchBatchByTask(string[] taskPkIds)
public async Task<TaskManageOrderResultDto> SendDispatchBatchByTask([FromBody] string[] taskPkIds)
{
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
@ -832,7 +832,7 @@ namespace Myshipping.Application
List<string> msgList = new List<string>();
taskList.ForEach(async a => {
taskList.ForEach(a => {
var rlt = a.Result;
if (!rlt.succ)
@ -1097,7 +1097,7 @@ namespace Myshipping.Application
/// <param name="taskPkIds">Task任务主键组</param>
/// <returns>返回回执</returns>
[HttpPost("/TaskManageTruck/CancelDispatchBatchByTask")]
public async Task<TaskManageOrderResultDto> CancelDispatchBatchByTask(string[] taskPkIds)
public async Task<TaskManageOrderResultDto> CancelDispatchBatchByTask([FromBody] string[] taskPkIds)
{
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
@ -1130,7 +1130,7 @@ namespace Myshipping.Application
List<string> msgList = new List<string>();
taskList.ForEach(async a => {
taskList.ForEach(a => {
var rlt = a.Result;
if (!rlt.succ)

Loading…
Cancel
Save