|
@@ -757,7 +757,7 @@ function __construct(){
|
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
|
|
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,1800000);
|
|
|
$res = curl_exec($ch);
|
|
|
-
|
|
|
+ curl_close($ch);
|
|
|
$this->logic_ding->sendToDing("shopfiy的运单同步第一步".json_encode($post)."|".$res);
|
|
|
|
|
|
$a = json_decode($res,true);
|
|
@@ -801,6 +801,7 @@ function __construct(){
|
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
|
|
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,1800000);
|
|
|
$res = curl_exec($ch);
|
|
|
+ curl_close($ch);
|
|
|
$this->logic_ding->sendToDing("shopfiy的运单同步第二步".json_encode($post)."|".$res);
|
|
|
|
|
|
|