lvhao 6 月之前
父節點
當前提交
0d1ee1af3e
共有 2 個文件被更改,包括 5 次插入1 次删除
  1. 3 1
      core/CoreApp/controllers/Ac.php
  2. 2 0
      core/CoreApp/models/Model_cne.php

+ 3 - 1
core/CoreApp/controllers/Ac.php

@@ -79,6 +79,7 @@ class Ac extends Start_Controller {
 		$this->load->_model('Model_excel','excel');
 		$this->load->_model('Model_yuntu','yuntu');
 		$this->load->_model('Model_fedex_ficp','fedex_ficp');
+		$this->load->_model('Model_fedexv1','fedexv1');
 	}
 	//定义方法的调用规则 获取URI第二段值
     public function _remap($arg,$arg_array)
@@ -217,7 +218,8 @@ class Ac extends Start_Controller {
 		//$b = $this->usps->get_logistics($fullorder);
 	//	$fullorder['printcode'] = 'HUALEI-DHL';
 		//$fullorder['js'] = 1;
-		$b = $this->fedex->get_data($fullorder);
+		$b  = $this->cne->get_data($fullorder);
+		//$b = $this->fedexv1->get_data($fullorder);
 		
 		echo "<pre>";
 		print_r($b);

+ 2 - 0
core/CoreApp/models/Model_cne.php

@@ -92,6 +92,8 @@ function __construct(){
 		)))
 		)
 		);
+		var_dump($count);
+		die;
 
 		$count = json_encode($count,true);