From 398f8f3696e7d3bbed26a155eb73a4f548125d5b Mon Sep 17 00:00:00 2001 From: zhou keda <1315948824@qq.com> Date: Thu, 27 Jun 2024 16:42:39 +0800 Subject: [PATCH] bug --- .../Tnb.WarehouseMgr.Interfaces/IWmsCarryUnbindService.cs | 2 +- WarehouseMgr/Tnb.WarehouseMgr/WmsCarryUnbindService.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WarehouseMgr/Tnb.WarehouseMgr.Interfaces/IWmsCarryUnbindService.cs b/WarehouseMgr/Tnb.WarehouseMgr.Interfaces/IWmsCarryUnbindService.cs index 7892d91d..45179184 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr.Interfaces/IWmsCarryUnbindService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr.Interfaces/IWmsCarryUnbindService.cs @@ -10,6 +10,6 @@ namespace Tnb.WarehouseMgr.Interfaces public interface IWmsCarryUnbindService { Task CarryUnbind(CarryBindInput input); - Task CarryCodeUnbind(CarryCodeUnbindInput input); + Task CarryCodeUnbind(CarryCodeUnbindInput input); } } diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryUnbindService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryUnbindService.cs index 0c9d4189..7e5bbd68 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryUnbindService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryUnbindService.cs @@ -196,7 +196,7 @@ namespace Tnb.WarehouseMgr /// /// [NonAction] - public async Task CarryCodeUnbind(CarryCodeUnbindInput input) + public async Task CarryCodeUnbind(CarryCodeUnbindInput input) { bool isOk = false; try @@ -231,7 +231,7 @@ namespace Tnb.WarehouseMgr Logger.LogError($"【CarryCodeUnbind】 {ex.StackTrace}"); return await ToApiResult(JNPF.Common.Enums.HttpStatusCode.InternalServerError, ex.Message); } - return Task.FromResult(true); + return await ToApiResult(JNPF.Common.Enums.HttpStatusCode.OK, "成功"); } } }