optimize
wet 1 year ago
parent a7a711bb10
commit 96dd2beb10

@ -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")
{ {

Loading…
Cancel
Save