|
@@ -25,7 +25,7 @@ function __construct(){
|
|
$url .= $link.'&sign='.$sign;
|
|
$url .= $link.'&sign='.$sign;
|
|
$headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
|
|
$headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
|
|
$res = $this->su_curl($post,$url,$headers);
|
|
$res = $this->su_curl($post,$url,$headers);
|
|
- $this->logic_ding->sendToDing($shop['shopname']."获取TT订单".$res);
|
|
|
|
|
|
+ //$this->logic_ding->sendToDing($shop['shopname']."测试获取TT订单".$res);
|
|
$res = json_decode($res,true);
|
|
$res = json_decode($res,true);
|
|
$list = array();$page_token = '';$arr = array();
|
|
$list = array();$page_token = '';$arr = array();
|
|
if(isset($res['data']['orders']))
|
|
if(isset($res['data']['orders']))
|