瀏覽代碼

修改快递数据

lvhao 2 月之前
父節點
當前提交
c53fc14928

+ 1 - 0
core/CoreApp/models/Model_ck.php

@@ -31,6 +31,7 @@ class Model_ck extends Lin_Model
 				$this->specialstock->save(array('zd'=>''),$v['id']);//专属
 			}
 		}
+		//非待发货和客户待收货状态以及仓库不占单
 		if(($state != '207' && $state != '209') || $warehouse['zd'] == 0)//待发货状态
 		{
 		    $wlw = $this->whlabel->find_all("zd = '$number'");

+ 1 - 1
core/CoreApp/models/Model_cne.php

@@ -136,7 +136,7 @@ function __construct(){
 		}
 		$this->logic_ding->sendToDing("云尚快递erp返回信息【".json_encode($g)."】");
 		$end_time = time();
-		if( $end_time - $start_time  > 60){
+		if( $end_time - $start_time  > 45){
 			if($g['x'] == 1){
 				$this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
 			}

+ 1 - 1
core/CoreApp/models/Model_dhl.php

@@ -331,7 +331,7 @@ function __construct(){
 		$this->logic_ding->sendToDing("dhl发货单请求的报文回执".json_encode($values));
 		if(!empty($values['AirwayBillNumber'])){
 			$end_time = time();
-			if( $end_time - $start_time  > 60){
+			if( $end_time - $start_time  > 45){
 				$this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
 			}
 		}

+ 1 - 1
core/CoreApp/models/Model_fedexv1.php

@@ -310,7 +310,7 @@ class Model_Fedexv1 extends Lin_Model {
                 }
             }
             $end_time = time();
-            if( $end_time - $start_time  > 60){
+            if( $end_time - $start_time  > 45){
                 $this->logic_ding->addJobs('outtime_order',['number'=>$order_info['number']]);
             }
             return 

+ 1 - 1
core/CoreApp/models/Model_hualei.php

@@ -212,7 +212,7 @@ function __construct(){
 		}
 		$end_time = time();
 		if($g['x'] == 1){
-			if( $end_time - $start_time  > 60){
+			if( $end_time - $start_time  > 45){
 				$this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
 			}
 		}

+ 1 - 1
core/CoreApp/models/Model_usps.php

@@ -411,7 +411,7 @@ function __construct(){
 		$res = json_decode($res, true);
 		if(!empty($res['labelImage'])){
 			$end_time = time();
-			if( $end_time - $start_time  > 60){
+			if( $end_time - $start_time  > 45){
 				$this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
 			}
 		}

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

@@ -135,7 +135,7 @@ function __construct(){
 		}
 		$this->logic_ding->sendToDing("正鑫快递erp返回信息【".json_encode($g)."】");
 		$end_time = time();
-		if( $end_time - $start_time  > 60){
+		if( $end_time - $start_time  > 45){
 			if($g['x'] == 1){
 				$this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
 			}