|
|
@@ -486,11 +486,12 @@ function __construct(){
|
|
|
$extra_text = json_decode($info['extra_text'],true);
|
|
|
//快递服务商
|
|
|
$server_info = $extra_text['server_info'];
|
|
|
+ $info['extra_text'] = $extra_text;
|
|
|
}else{
|
|
|
//快递服务商
|
|
|
$server_info = $info['extra_text'];
|
|
|
}
|
|
|
-
|
|
|
+ $this->logic_ding->sendToDing($info['number']."获取TT快递服务信息CBTXD【请求参数】".json_encode($info));
|
|
|
if($info['express'] == 85){
|
|
|
$ttsp_xz_name = $server_info['shipping_services'][$info['ttsp_xz']]['name'];
|
|
|
if(strpos($ttsp_xz_name,'USPS')=== false){
|
|
|
@@ -521,7 +522,7 @@ function __construct(){
|
|
|
$url .= $link.'&sign='.$sign;
|
|
|
$headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
|
|
|
$res = $this->su_curl($post,$url,$headers);
|
|
|
- $this->logic_ding->sendToDing($info['number']."获取TT快递服务信息CBTXD".$res."【请求参数】".json_encode($post).'当时的包裹选择'.json_encode($info));
|
|
|
+ $this->logic_ding->sendToDing($info['number']."获取TT快递服务信息CBTXD".$res."【请求参数】".json_encode($post));
|
|
|
$res = json_decode($res,true);
|
|
|
return $res;
|
|
|
}
|