1
This commit is contained in:
@@ -132,17 +132,19 @@ namespace Tnb.WarehouseMgr
|
||||
[HttpPost]
|
||||
public async Task<dynamic> MESCarrySign(MESCarrySignInput input)
|
||||
{
|
||||
var isSuccessFul = false;
|
||||
if (input.IsNull()) throw new ArgumentNullException("input");
|
||||
var signInput = input.Adapt<SignForDeliveryInput>();
|
||||
try
|
||||
{
|
||||
await SignForDelivery(signInput);
|
||||
isSuccessFul = true;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return ToApiResult(HttpStatusCode.InternalServerError, "签收失败");
|
||||
isSuccessFul= false;
|
||||
}
|
||||
return ToApiResult();
|
||||
return isSuccessFul;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user