浏览代码

提交数据

lvhao 3 天之前
父节点
当前提交
308744917d
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 4 5
      core/CoreApp/models/Model_api.php

+ 4 - 5
core/CoreApp/models/Model_api.php

@@ -54,7 +54,7 @@ function __construct(){
 		    $header[] = 'Content-Type: application/json';
             $header[] = 'Content-Length:'.strlen(json_encode($data));
         	$info = $this->su_curl($data,'http://api.supernovawig.com/v1/order/list',$header);
-        	$this->logic_ding->sendToDing("测试获取SU订单".$info);
+        	//$this->logic_ding->sendToDing("测试获取SU订单".$info);
 			$result = json_decode($info,true);
 			$thatDayOrder = array();
 			foreach ($result['data'] as $v)
@@ -131,7 +131,7 @@ function __construct(){
 				curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,1800000);
 				$res = curl_exec($ch);
 				//$this->logic_ding->sendToDing("独立站获取订单的店铺执行请求参数【".$name."】".json_encode($post));
-				$this->logic_ding->sendToDing("shpofy独立站获取订单的店铺执行获取信息".$res);
+				//$this->logic_ding->sendToDing("独立站获取订单的店铺执行获取信息".$res);
 				
 				curl_close($ch);
 				$res = json_decode($res,true);
@@ -497,7 +497,7 @@ function __construct(){
 		}
 		else
 		{
-			$this->logic_ding->sendToDing("独立站获取订单的店铺执行mengnnto【".$name."】");
+			//$this->logic_ding->sendToDing("独立站获取订单的店铺执行mengnnto【".$name."】");
 			$post = array();
 			$post['synchronization'] = 1;
 			$post['name'] = $name;
@@ -514,8 +514,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)
 			{