|
|
|
@ -73,12 +73,12 @@ namespace Myshipping.Application.Helper
|
|
|
|
|
urlYard += "/";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
urlYard = "real/query";
|
|
|
|
|
urlYard += "real/query";
|
|
|
|
|
|
|
|
|
|
var strJson = objSend.ToString();
|
|
|
|
|
Log.Debug($"查询实时场站数据发送数据,url:{urlYard},json:{strJson}");
|
|
|
|
|
var strJson = objSend.ToJsonString();
|
|
|
|
|
Log.Information($"查询实时场站数据发送数据,url:{urlYard},json:{strJson}");
|
|
|
|
|
string rtn = await urlYard.SetBody(objSend).PostAsStringAsync();
|
|
|
|
|
Log.Debug($"查询实时场站数据,返回:{rtn}");
|
|
|
|
|
Log.Information($"查询实时场站数据,返回:{rtn}");
|
|
|
|
|
var rtnObj = JObject.Parse(rtn);
|
|
|
|
|
if (rtnObj.GetIntValue("code") != 200)
|
|
|
|
|
{
|
|
|
|
|