|
|
@ -367,6 +367,7 @@ namespace Myshipping.Application
|
|
|
|
if (response.IsSuccessStatusCode)
|
|
|
|
if (response.IsSuccessStatusCode)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var strRtn = response.Content.ReadAsStringAsync().Result;
|
|
|
|
var strRtn = response.Content.ReadAsStringAsync().Result;
|
|
|
|
|
|
|
|
_logger.LogInformation("发送快递SendBooking:" + strRtn);
|
|
|
|
var jobj = strRtn.ToJObject();
|
|
|
|
var jobj = strRtn.ToJObject();
|
|
|
|
if (jobj.GetStringValue("apiResultCode") == "A1000")
|
|
|
|
if (jobj.GetStringValue("apiResultCode") == "A1000")
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -413,6 +414,7 @@ namespace Myshipping.Application
|
|
|
|
if (response.IsSuccessStatusCode)
|
|
|
|
if (response.IsSuccessStatusCode)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var strRtn = response.Content.ReadAsStringAsync().Result;
|
|
|
|
var strRtn = response.Content.ReadAsStringAsync().Result;
|
|
|
|
|
|
|
|
_logger.LogInformation("顺丰GetToken" + strRtn);
|
|
|
|
var jobj = strRtn.ToJObject();
|
|
|
|
var jobj = strRtn.ToJObject();
|
|
|
|
if (jobj.GetStringValue("apiResultCode") == "A1000")
|
|
|
|
if (jobj.GetStringValue("apiResultCode") == "A1000")
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -471,6 +473,7 @@ namespace Myshipping.Application
|
|
|
|
if (response.IsSuccessStatusCode)
|
|
|
|
if (response.IsSuccessStatusCode)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var strRtn = response.Content.ReadAsStringAsync().Result;
|
|
|
|
var strRtn = response.Content.ReadAsStringAsync().Result;
|
|
|
|
|
|
|
|
_logger.LogInformation("查询快递QueryKDSchedule:" + strRtn);
|
|
|
|
var jobj = strRtn.ToJObject();
|
|
|
|
var jobj = strRtn.ToJObject();
|
|
|
|
if (jobj.GetStringValue("apiResultCode") == "A1000")
|
|
|
|
if (jobj.GetStringValue("apiResultCode") == "A1000")
|
|
|
|
{
|
|
|
|
{
|
|
|
|