|
@@ -659,6 +659,7 @@ function __construct(){
|
|
|
$post['shop'] = $shop;
|
|
|
$post['ex'] = $ex;
|
|
|
$post['msg'] = isset($msg)?$msg:2;
|
|
|
+ $this->logic_ding->sendToDing("erp同步独立站的信息tijiao1".json_encode($post,JSON_UNESCAPED_UNICODE));
|
|
|
$ch = curl_init();
|
|
|
$url = 'http://edm.alipearl.net/soapapi.php';
|
|
|
curl_setopt($ch,CURLOPT_URL,$url);
|
|
@@ -673,6 +674,7 @@ function __construct(){
|
|
|
$res = curl_exec($ch);
|
|
|
curl_close($ch);
|
|
|
$res = json_decode($res,true);
|
|
|
+ $this->logic_ding->sendToDing("erp同步独立站的信息1".json_encode($res,JSON_UNESCAPED_UNICODE));
|
|
|
if($res)
|
|
|
{
|
|
|
if($res == 1)
|