optimize
whm 2 years ago
parent de65e47996
commit 914692b227

@ -3353,6 +3353,23 @@ namespace Myshipping.Application
.PostAsStringAsync();
_logger.LogInformation($"调用vgm发送接口{urlConfig.Value},返回:{rtn}");
var jobjRtn = JObject.Parse(rtn);
if (jobjRtn.GetBooleanValue("Success"))
{
//货运动态
var bsl = new BookingStatusLog();
bsl.BookingId = bookingId;
bsl.Status = $"发送VGM";
bsl.OpTime = DateTime.Now;
bsl.Category = "ship";
bsl.MBLNO = order.MBLNO;
await _repStatuslog.InsertAsync(bsl);
}
else
{
throw Oops.Bah(jobjRtn.GetStringValue("Message"));
}
}
else //直接调用vgm接口直发
{

Loading…
Cancel
Save