Selaa lähdekoodia

修改监听u9小单漏单的原因,以及修改关于云上最新的渠道撤销

lvhao 4 kuukautta sitten
vanhempi
commit
a08aae1b28

+ 3 - 2
core/CoreApp/controllers/Systemfout.php

@@ -577,7 +577,7 @@ class Systemfout extends Start_Controller {
 			if($y['type'] != 7 && $y['waybill'] != '' && $y['printtype'] == '1')
 			{
 				$y['waybill'] = trim($y['waybill'],' ');
-			    if(strlen($y['waybill']) == 12 && $y['express'] != 24 && $y['express'] != 31 && $y['express'] != 38 && $y['express'] != 41 && $y['express'] != 6 && $y['express'] != 43 && $y['express'] != 48 && $y['express'] != 50 && $y['express'] != 63 && $y['express'] != 70 && $y['express'] != 71)
+			    if(strlen($y['waybill']) == 12 && $y['express'] != 24 && $y['express'] != 31 && $y['express'] != 38 && $y['express'] != 41 && $y['express'] != 6 && $y['express'] != 43 && $y['express'] != 48 && $y['express'] != 50 && $y['express'] != 63 && $y['express'] != 70 )
 				{
 					echo json_encode(array('msg'=>'出库物流和系统不匹配,请联系梦体解决'.$y['express'].'-1','success'=>false));exit;
 				}
@@ -698,7 +698,7 @@ class Systemfout extends Start_Controller {
 			{
 				//echo json_encode(array('yd'=>1,'id'=>$y['id'],'express'=>$y['express'],'name'=>$fullorder_name,'success'=>true));exit;
 			}
-			$this->logic_ding->sendToDing("u9小单队列监听数据第一位".$y['number']."称重".$numweight."快递公司".$y['express']);
+			
 			$this->db->trans_begin();
 			$warehouse = $this->warehouse->read($y['type']);
 			$bdck = $warehouse['bdck'];
@@ -897,6 +897,7 @@ class Systemfout extends Start_Controller {
 				}
 			}
 			**/
+			$this->logic_ding->sendToDing("u9小单队列监听数据第一位".$y['number']."称重".$numweight."快递公司".$y['express']);
 			if($outtype == 2 && $y['printnumber'] > 1)
 			{
 				$p = json_encode($post);

+ 1 - 1
core/CoreApp/controllers/Systemprint.php

@@ -1335,7 +1335,7 @@ class Systemprint extends Start_Controller {
 						$this->$fullorder_name->save(array('print'=>1,'failed'=>$failed),$va[$n]);
 					}
 				}
-				else if($fullorder['printcode'] == "DPEX" || $fullorder['printcode'] == "FedEx_2day" || $fullorder['printcode'] == "usps_priority" || $fullorder['printcode'] == "FEDEX_G" )//官方FEDEX接口
+				else if($fullorder['printcode'] == "DPEX" || $fullorder['printcode'] == "FedEx_2day" || $fullorder['printcode'] == "usps_priority"  )//官方FEDEX接口
 				{
 					if($fullorder['waybillid'] != '')
 					{