optimize
wet 1 year ago
parent 9d0ca7c9e4
commit 53318f16b4

@ -329,12 +329,12 @@ namespace Myshipping.Application
var strResp = await dicUrl.Value.SetContentType("multipart/form-data").SetBody(sendObj).PostAsStringAsync();
_logger.LogInformation($"调用舱单接口返回:{strResp}");
var jobjResp = JObject.Parse(strResp);
bool respCode = jobjResp.GetBooleanValue("Success");
if (respCode == false)
{
throw Oops.Bah(jobjResp.GetStringValue("Message"));
throw Oops.Bah(jobjResp.GetStringValue("Message").Replace("<br />", "\r\n").Replace("<br/>",""));
}
//货运动态
var bsl = new BookingStatusLog();

Loading…
Cancel
Save