|
@@ -319,7 +319,6 @@ $j = json_decode($j, true);
|
|
|
$url .= $link.'&sign='.$sign;
|
|
|
$headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
|
|
|
$res = $this->apitt->su_curl('',$url,$headers,$date_type='json',$timeout=300,$httptype="GET");
|
|
|
- $this->logic_ding->sendToDing("获取TT承运商".$res);
|
|
|
$res = json_decode($res,true);
|
|
|
if(!isset($res['data']['shipping_providers']))
|
|
|
{
|
|
@@ -356,7 +355,6 @@ $j = json_decode($j, true);
|
|
|
$url .= $link.'&sign='.$sign;
|
|
|
$headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
|
|
|
$res = $this->apitt->su_curl($post,$url,$headers);
|
|
|
- $this->logic_ding->sendToDing("获取TT运单上传".$res);
|
|
|
$res = json_decode($res,true);
|
|
|
if($res['message'] == 'Success')
|
|
|
{
|