浏览代码

提交数据

lvhao 2 月之前
父节点
当前提交
faddd1cdc0
共有 1 个文件被更改,包括 7 次插入10 次删除
  1. 7 10
      core/CoreApp/controllers/Systemfout.php

+ 7 - 10
core/CoreApp/controllers/Systemfout.php

@@ -574,6 +574,13 @@ class Systemfout extends Start_Controller {
 				}
 			}
 
+			// 66  云途(欧洲)  67  云途(欧洲)-带保险    如果是欧洲云途 需要检擦出库时间是否超过15天
+			if(in_array($y['express'],[66,67])){
+				if((time() - $y['printtime']) >= (15*24*3600)){
+					echo json_encode(array('msg'=>'运单超时!请联系梦体处理!','success'=>false));exit;
+				}
+			}
+
 
 			$express = $this->express->read($y['express']);
 			if($y['state'] == 216 && $fullorder_name == 'fullordersmt')
@@ -721,16 +728,6 @@ class Systemfout extends Start_Controller {
 				//echo json_encode(array('yd'=>1,'id'=>$y['id'],'express'=>$y['express'],'name'=>$fullorder_name,'success'=>true));exit;
 			}
 			
-
-			// 66  云途(欧洲)  67  云途(欧洲)-带保险    如果是欧洲云途 需要检擦出库时间是否超过15天
-			if(in_array($y['express'],[66,67])){
-				if((time() - $y['printtime']) >= (15*24*3600)){
-					echo json_encode(array('msg'=>'运单超时!请联系梦体处理!','success'=>false));exit;
-				}
-				//
-			}
-
-
 			$this->db->trans_begin();
 			$warehouse = $this->warehouse->read($y['type']);
 			$bdck = $warehouse['bdck'];