|
@@ -118,7 +118,7 @@ function __construct(){
|
|
|
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
|
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
|
|
$res = curl_exec($ch);
|
|
|
- //$this->logic_ding->sendToDing("测试获取自建站订单".$res);
|
|
|
+ $this->logic_ding->sendToDing("测试获取自建站订单".$res);
|
|
|
curl_close($ch);
|
|
|
$res = json_decode($res,true);
|
|
|
$thatDayOrder = array();
|
|
@@ -417,7 +417,7 @@ function __construct(){
|
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
|
|
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,1800000);
|
|
|
$res = curl_exec($ch);
|
|
|
- //$this->logic_ding->sendToDing("测试获取magento订单".$res);
|
|
|
+ $this->logic_ding->sendToDing("测试获取magento订单".$res);
|
|
|
curl_close($ch);
|
|
|
if($res)
|
|
|
{
|