|
|
|
@ -2203,6 +2203,24 @@ namespace Myshipping.Application
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[HttpPost("/BookingOrder/RefreshBillTrace")]
|
|
|
|
|
public async Task RefreshBillTrace(string Ids) {
|
|
|
|
|
|
|
|
|
|
var url = _cache.GetAllDictData().Result.FirstOrDefault(x => x.TypeCode == "url_set" && x.Code == "response_seae_billtraceRefreshurl").Value;
|
|
|
|
|
var html = await url.SetHttpMethod(HttpMethod.Post).SetQueries(new { Ids = Ids, flag=true }).SetRetryPolicy(3, 5000).SendAsAsync<RespCommon>();
|
|
|
|
|
_logger.LogInformation("调用运踪刷新接口返回" + html.ToJsonString());
|
|
|
|
|
if (html.Success != true)
|
|
|
|
|
{
|
|
|
|
|
_logger.LogError("调用运踪刷新接口返回:" + html.ToJsonString());
|
|
|
|
|
throw Oops.Bah(html.Message);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 插入货运动态
|
|
|
|
|
/// </summary>
|
|
|
|
|