Sfoglia il codice sorgente

提交监视数据

lvhao 3 mesi fa
parent
commit
802ef502cf
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      core/CoreApp/models/Model_api.php

+ 2 - 0
core/CoreApp/models/Model_api.php

@@ -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)