|
|
@ -6144,14 +6144,14 @@ namespace Myshipping.Application
|
|
|
|
}
|
|
|
|
}
|
|
|
|
JArray jarrData = jobjRtn.GetValue("data") as JArray;
|
|
|
|
JArray jarrData = jobjRtn.GetValue("data") as JArray;
|
|
|
|
if (jarrData==null|| jarrData.Count==0) {
|
|
|
|
if (jarrData==null|| jarrData.Count==0) {
|
|
|
|
throw Oops.Bah($"请求爬虫获取数据为空{rtn}");
|
|
|
|
throw Oops.Bah($"{msg}");
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
JObject it = jarrData[0] as JObject;
|
|
|
|
JObject it = jarrData[0] as JObject;
|
|
|
|
JArray array = it.GetValue("data") as JArray;
|
|
|
|
JArray array = it.GetValue("data") as JArray;
|
|
|
|
if (array == null || array.Count == 0)
|
|
|
|
if (array == null || array.Count == 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
throw Oops.Bah($"请求爬虫获取数据为空{rtn}");
|
|
|
|
throw Oops.Bah($"{msg}");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JObject item = array[0] as JObject;
|
|
|
|
JObject item = array[0] as JObject;
|
|
|
|