Browse Source

取消掉速卖通的产品信息更新

lvhao 3 weeks ago
parent
commit
8f4d2839af
2 changed files with 5 additions and 5 deletions
  1. 1 1
      core/CoreApp/controllers/Commodity.php
  2. 4 4
      core/CoreApp/models/Model_apismt.php

+ 1 - 1
core/CoreApp/controllers/Commodity.php

@@ -421,7 +421,7 @@ class Commodity extends Start_Controller {
 						    //if(!$productid)
 							//{
 								@$read = $this->apismt->get_commodityread($v,$value['code']);
-								$this->logic_ding->sendToDing("速卖通获取商品详情"."【".json_encode($read)."】");
+								//$this->logic_ding->sendToDing("速卖通获取商品详情"."【".json_encode($read)."】");
 								if(is_array($read))
 								{
 									@$cid = $this->apismt->get_commoditysku($read['cid'],$value['code']);

+ 4 - 4
core/CoreApp/models/Model_apismt.php

@@ -77,7 +77,7 @@ function __construct(){
 		$post['code'] = $code;
         curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($post));
 		$res = curl_exec($ch);
-		$this->logic_ding->sendToDing("速卖通获取订单详情监视列表"."【".$res."】");
+		//$this->logic_ding->sendToDing("速卖通获取订单详情监视列表"."【".$res."】");
 		curl_close($ch);
 		$res = json_decode($res,true);
 		$data = array();$fund_status = '';
@@ -147,7 +147,7 @@ function __construct(){
 		$post['orderinfo'] = $orderinfo;
 		$post['ex'] = $ex;
 		$post['code'] = $code;
-		$this->logic_ding->sendToDing("SMT运单同步".json_encode($post,JSON_UNESCAPED_UNICODE));
+		//$this->logic_ding->sendToDing("SMT运单同步".json_encode($post,JSON_UNESCAPED_UNICODE));
         curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($post));
 		$res = curl_exec($ch);
 		curl_close($ch);
@@ -261,7 +261,7 @@ function __construct(){
         curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($post));
 		$res = curl_exec($ch);
 		curl_close($ch);
-		$this->logic_ding->sendToDing("速卖通获取商品列表监视列表(".json_encode($post,JSON_UNESCAPED_UNICODE).")【".$res."】");
+		//$this->logic_ding->sendToDing("速卖通获取商品列表监视列表(".json_encode($post,JSON_UNESCAPED_UNICODE).")【".$res."】");
 		$res = json_decode($res,true);
    	    if(isset($res))
 		{
@@ -286,7 +286,7 @@ function __construct(){
 		$post['code'] = $code;
         curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($post));
 		$res = curl_exec($ch);
-		$this->logic_ding->sendToDing("速卖通获取商品列表监视详情(".json_encode($post,JSON_UNESCAPED_UNICODE).")【".$res."】");
+		//$this->logic_ding->sendToDing("速卖通获取商品列表监视详情(".json_encode($post,JSON_UNESCAPED_UNICODE).")【".$res."】");
 		curl_close($ch);
 		$res = json_decode($res,true);
    	    $sku = array();