wet 2 years ago
commit 7112fd8caa

@ -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