bug
This commit is contained in:
@@ -10,6 +10,6 @@ namespace Tnb.WarehouseMgr.Interfaces
|
||||
public interface IWmsCarryUnbindService
|
||||
{
|
||||
Task<Result> CarryUnbind(CarryBindInput input);
|
||||
Task<dynamic> CarryCodeUnbind(CarryCodeUnbindInput input);
|
||||
Task<Result> CarryCodeUnbind(CarryCodeUnbindInput input);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ namespace Tnb.WarehouseMgr
|
||||
/// <exception cref="ArgumentNullException"></exception>
|
||||
/// <exception cref="AppFriendlyException"></exception>
|
||||
[NonAction]
|
||||
public async Task<dynamic> CarryCodeUnbind(CarryCodeUnbindInput input)
|
||||
public async Task<Result> 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, "成功");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user