소스 검색

提交监视数据

lvhao 3 달 전
부모
커밋
802ef502cf
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)