Browse Source

体骄傲快递轨迹

lvhao 3 months ago
parent
commit
d3f0faef68
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/CoreApp/models/Model_usps.php

+ 2 - 2
core/CoreApp/models/Model_usps.php

@@ -1114,12 +1114,12 @@ function __construct(){
 		$header = array('Authorization: Bearer '.$token,'Content-Type: application/json',"Accept:application/json");
 		$header = array('Authorization: Bearer '.$token,'Content-Type: application/json',"Accept:application/json");
 		$res= $this->su_curl([
 		$res= $this->su_curl([
 		],$url,$header,'http_build_query',$timeout=300,"GET",'');
 		],$url,$header,'http_build_query',$timeout=300,"GET",'');
-		$this->logic_ding->sendToDing("usps快递轨迹".$res);
+		$this->logic_ding->sendToDing("usps获取快递轨迹".$res);
 		if(is_string($res)){
 		if(is_string($res)){
 			$res = json_decode($res,true);
 			$res = json_decode($res,true);
 		}
 		}
 		if(isset($res['error'])){
 		if(isset($res['error'])){
-		    $this->logic_ding->sendToDing("usps获取运单轨迹报错".json_encode($res,JSON_UNESCAPED_UNICODE));
+		    $this->logic_ding->sendToDing("usps获取快递轨迹报错".json_encode($res,JSON_UNESCAPED_UNICODE));
 		    
 		    
 		}
 		}
 		//如果没有报错还没有trackingEvents这个字段就说明异常了;
 		//如果没有报错还没有trackingEvents这个字段就说明异常了;