Parcourir la source

修改正鑫云图的

lvhao il y a 2 mois
Parent
commit
b8b313d567
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      core/CoreApp/models/Model_zxyuntu.php

+ 2 - 2
core/CoreApp/models/Model_zxyuntu.php

@@ -97,7 +97,7 @@ function __construct(){
 		);
 		);
 		$start_time = time();
 		$start_time = time();
 		$count = json_encode($count,true);
 		$count = json_encode($count,true);
-
+		$this->logic_ding->sendToDing("正鑫快递报文信息【".$count."】");
 		$ch = curl_init();
 		$ch = curl_init();
 		curl_setopt($ch,CURLOPT_URL,$url);
 		curl_setopt($ch,CURLOPT_URL,$url);
 		curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
 		curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
@@ -135,7 +135,7 @@ function __construct(){
 		}
 		}
 		$this->logic_ding->sendToDing("正鑫快递erp返回信息【".json_encode($g)."】");
 		$this->logic_ding->sendToDing("正鑫快递erp返回信息【".json_encode($g)."】");
 		$end_time = time();
 		$end_time = time();
-		if( $end_time - $start_time  > 15){
+		if( $end_time - $start_time  > 60){
 			if($g['x'] == 1){
 			if($g['x'] == 1){
 				$this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
 				$this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
 			}
 			}