|
@@ -52,7 +52,7 @@ function __construct(){
|
|
$header[] = 'Content-Type: application/json';
|
|
$header[] = 'Content-Type: application/json';
|
|
$header[] = 'Content-Length:'.strlen(json_encode($data));
|
|
$header[] = 'Content-Length:'.strlen(json_encode($data));
|
|
$info = $this->su_curl($data,'http://api.supernovawig.com/v1/order/list',$header);
|
|
$info = $this->su_curl($data,'http://api.supernovawig.com/v1/order/list',$header);
|
|
- //$this->logic_ding->sendToDing("测试获取SU订单".$info);
|
|
|
|
|
|
+ $this->logic_ding->sendToDing("测试获取SU订单".$info);
|
|
$result = json_decode($info,true);
|
|
$result = json_decode($info,true);
|
|
$thatDayOrder = array();
|
|
$thatDayOrder = array();
|
|
foreach ($result['data'] as $v)
|
|
foreach ($result['data'] as $v)
|