lvhao 1 ماه پیش
والد
کامیت
fdaf785a2a
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      core/CoreApp/models/Model_api.php

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

@@ -127,8 +127,10 @@ function __construct(){
 				curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
 				curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,1800000);
 				$res = curl_exec($ch);
+				$this->logic_ding->sendToDing("独立站获取订单的店铺执行shopfiy【".$name."】".$res);
 				curl_close($ch);
 				$res = json_decode($res,true);
+
 				$thatDayOrder = array();
 				$thatDayOrder = array();
 				if(isset($res['orders']))
@@ -514,6 +516,7 @@ function __construct(){
 		curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,1800000);
 		$res = curl_exec($ch);
 		curl_close($ch);
+		$this->logic_ding->sendToDing("独立站获取订单的店铺执行shopfiy【".$shopifyid."】".$res);
 		$a = json_decode($res,true);
 
 		// $shopifyid = $shopifyid;