| 
					
				 | 
			
			
				@@ -233,7 +233,7 @@ class Apismt extends Start_Controller { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					$orderexpress = $this->express->read($dataorder['express']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					$data = $this->apismt->get_order($v['orderinfo'],$shop['code']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					$this->logic_ding->sendToDing("smt的订单查询详情".json_encode($data)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					//$this->logic_ding->sendToDing("smt的订单查询详情".json_encode($data)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					$overtime = $zt[$v['state']] == 207?$data['overtime']:$dataorder['overtime']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if($data['express']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					{ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -294,7 +294,7 @@ class Apismt extends Start_Controller { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					**/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					$this->logic_ding->sendToDing("SMT运单同步【".$v['orderinfo']."】"."||".$dlz); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					//$this->logic_ding->sendToDing("SMT运单同步【".$v['orderinfo']."】"."||".$dlz); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					$this->fullordersmt->save(array('state'=>$zt[$v['state']],'express'=>$express,'waybill'=>$waybill,'dlz'=>$dlz,'expressstate'=>$expressstate,'overtime'=>$overtime),$dataorder['id']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -763,7 +763,7 @@ class Apismt extends Start_Controller { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				foreach ($t as $vv) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					$d = $this->apismt->get_out($v['waybill'],'all',$vv['orderinfo'],$express['aecode'],$shop['code']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					$this->logic_ding->sendToDing("SMT运单同步【".$vv['orderinfo']."】"."||执行信息一||".json_encode($d)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					//$this->logic_ding->sendToDing("SMT运单同步【".$vv['orderinfo']."】"."||执行信息一||".json_encode($d)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if(isset($d['result_success']) && $d['result_success'] == "true") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						$this->fullordersmt->save(array('dlz'=>1,'exstate'=>1,'state'=>209),$vv['id']); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -780,7 +780,7 @@ class Apismt extends Start_Controller { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			$dlz = $this->apismt->get_out($v['waybill'],'all',$v['orderinfo'],$express['aecode'],$shop['code']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			$this->logic_ding->sendToDing("SMT运单同步【".$v['orderinfo']."】"."||执行信息二||".json_encode($dlz)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			//$this->logic_ding->sendToDing("SMT运单同步【".$v['orderinfo']."】"."||执行信息二||".json_encode($dlz)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			if(isset($dlz['result_success']) && $dlz['result_success'] == "true") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				$this->fullordersmt->save(array('dlz'=>1,'exstate'=>1,'state'=>209),$v['id']); 
			 |