longyi 1 mês atrás
pai
commit
2e0ad8fdbb
1 arquivos alterados com 15 adições e 10 exclusões
  1. 15 10
      core/CoreApp/controllers/Ac.php

+ 15 - 10
core/CoreApp/controllers/Ac.php

@@ -80,6 +80,8 @@ class Ac extends Start_Controller {
 		$this->load->_model('Model_yuntu','yuntu');
 		$this->load->_model('Model_fedex_ficp','fedex_ficp');
 		$this->load->_model('Model_fedexv1','fedexv1');
+		$this->load->_model('Model_fedexv1','fedexv1');
+		$this->load->_model("Model_zxyuntu","zxyuntu");
 		$this->load->_model("Model_customsdeclaration","customsdeclaration");
 	}
 	//定义方法的调用规则 获取URI第二段值
@@ -125,7 +127,7 @@ class Ac extends Start_Controller {
 	
 	public function _x3($arg_array)
 	{
-	   die;
+	    die;
 		$fullorder = $this->fullorder->get_number($arg_array[0]);
 		if(!$fullorder)
 		{
@@ -207,7 +209,7 @@ class Ac extends Start_Controller {
 			//$pt .= '<p>'.$p[1].' * '.$p[2].'</p>';
 		}
 		$fullorder['pt'] = $pt;
-		$fullorder['printnumber'] += 2;
+		$fullorder['printnumber'] += 11;
 // 		$fullorder['address'] = "221 5TH ST # APT305";
 // 		$fullorder['city'] = "W SACRAMENTO";
 // 		echo "<pre>";
@@ -235,8 +237,11 @@ class Ac extends Start_Controller {
 // 		$fullorder['js'] = 2;
 // 		$fullorder['bx'] = 110;
 		//$fullorder['qm'] = 1;
-		echo "<pre>";
-		
+	    echo "<pre>";
+	   
+		$b = $this->zxyuntu->get_data($fullorder);
+		print_r($b);
+		die;
 		
 		//$fullorder['printcode'] = 'usps_priority';
 //  		$b  = $this->usps->get_data($fullorder);
@@ -246,15 +251,15 @@ class Ac extends Start_Controller {
 // 		$b = $this->fedexv1->get_data($fullorder);
 // 		var_dump($b);
 		//echo $fullorder['zzl'];
-		echo  "<pre>";
-		var_dump($fullorder);
+// 		echo  "<pre>";
+// 		var_dump($fullorder);
 	
-		$b = $this->dhl->get_data($fullorder);
+// 		$b = $this->dhl->get_data($fullorder);
 		
 // 		$b = $this->ups->get_data($fullorder);
-		echo "<pre>";
-		print_r($b);
-		$this->_pdf($b['labelImage'],"test",date("Ymd"));
+// 		echo "<pre>";
+// 		print_r($b);
+// 		$this->_pdf($b['labelImage'],"test",date("Ymd"));
 		
 	}