|
@@ -1114,12 +1114,12 @@ function __construct(){
|
|
|
$header = array('Authorization: Bearer '.$token,'Content-Type: application/json',"Accept:application/json");
|
|
|
$res= $this->su_curl([
|
|
|
],$url,$header,'http_build_query',$timeout=300,"GET",'');
|
|
|
- $this->logic_ding->sendToDing("usps快递轨迹".$res);
|
|
|
+ $this->logic_ding->sendToDing("usps获取快递轨迹".$res);
|
|
|
if(is_string($res)){
|
|
|
$res = json_decode($res,true);
|
|
|
}
|
|
|
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这个字段就说明异常了;
|