浏览代码

查询17track信息返回异常的原因

lvhao 1 周之前
父节点
当前提交
791e9c00eb
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      core/CoreApp/models/Model_api.php

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

@@ -141,6 +141,7 @@ function __construct(){
 				{
 				{
 					foreach ($res['orders'] as $v)
 					foreach ($res['orders'] as $v)
 					{
 					{
+						$this->logic_ding->sendToDing("独立站获取订单的店铺执行获取信息".json_encode($v));
 						$productNames = '';
 						$productNames = '';
 						$parameters = array();
 						$parameters = array();
 						$skus = '';
 						$skus = '';
@@ -607,6 +608,7 @@ function __construct(){
         // 	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
         // 	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
         // 	$res = curl_exec($ch);
         // 	$res = curl_exec($ch);
 		// 	$headerA = curl_getinfo($ch)
 		// 	$headerA = curl_getinfo($ch)
+		
 		$a = json_decode($res,true);
 		$a = json_decode($res,true);
 		if(!isset($a['transactions']))
 		if(!isset($a['transactions']))
 		{
 		{