瀏覽代碼

修改正鑫云图的

lvhao 2 月之前
父節點
當前提交
b8b313d567
共有 1 個文件被更改,包括 2 次插入2 次删除
  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();
 		$count = json_encode($count,true);
-
+		$this->logic_ding->sendToDing("正鑫快递报文信息【".$count."】");
 		$ch = curl_init();
 		curl_setopt($ch,CURLOPT_URL,$url);
 		curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
@@ -135,7 +135,7 @@ function __construct(){
 		}
 		$this->logic_ding->sendToDing("正鑫快递erp返回信息【".json_encode($g)."】");
 		$end_time = time();
-		if( $end_time - $start_time  > 15){
+		if( $end_time - $start_time  > 60){
 			if($g['x'] == 1){
 				$this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
 			}