|
|
|
@ -6143,8 +6143,17 @@ namespace Myshipping.Application
|
|
|
|
|
throw Oops.Bah($"请求爬虫获取【云港通】出错:{msg}");
|
|
|
|
|
}
|
|
|
|
|
JArray jarrData = jobjRtn.GetValue("data") as JArray;
|
|
|
|
|
if (jarrData==null|| jarrData.Count==0) {
|
|
|
|
|
throw Oops.Bah($"请求爬虫获取数据为空{rtn}");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
JObject it = jarrData[0] as JObject;
|
|
|
|
|
JArray array = it.GetValue("data") as JArray;
|
|
|
|
|
if (array == null || array.Count == 0)
|
|
|
|
|
{
|
|
|
|
|
throw Oops.Bah($"请求爬虫获取数据为空{rtn}");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JObject item = array[0] as JObject;
|
|
|
|
|
var yjdk_time = item.GetDateTimeValue("yjdk_time");//预计到港时间
|
|
|
|
|
var yjlk_time = item.GetDateTimeValue("yjlk_time");//预计离港时间
|
|
|
|
|