瀏覽代碼

提交修改记录日志的信息

lvhao 1 天之前
父節點
當前提交
7fa2e2cb68
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      core/CoreApp/controllers/Apitt.php
  2. 3 3
      core/CoreApp/models/Model_apitt.php

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

@@ -1083,7 +1083,7 @@ $j = json_decode($j, true);
 			
 			$j = json_decode($j, true);
 			//$this->logic_ding->sendToDing("获取TT的webhook数据:".json_encode($j));
-			//$this->logic_ding->sendToDing($j['data']['order_id']."获取TT的webhook数据:".json_encode($j));
+			$this->logic_ding->sendToDing($j['data']['order_id']."获取TT的webhook数据:".json_encode($j));
 			$xq = array();
 			if($j['type'] == 1 && $j['data']['order_status'] == 'UNPAID')
 			{

+ 3 - 3
core/CoreApp/models/Model_apitt.php

@@ -25,9 +25,9 @@ function __construct(){
 		$url .= $link.'&sign='.$sign;
 		$headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
 		$res = $this->su_curl($post,$url,$headers);
-		if($shop['shopname'] == 'WestKiss Hair UK'){
-			$this->logic_ding->sendToDing($shop['shopname']."测试获取TT订单".$res);
-		}
+		// if($shop['shopname'] == 'WestKiss Hair UK'){
+		// 	$this->logic_ding->sendToDing($shop['shopname']."测试获取TT订单".$res);
+		// }
 		$res = json_decode($res,true);
 		$list = array();$page_token = '';$arr = array();
 		if(isset($res['data']['orders']))