longyi hai 3 días
pai
achega
3311c4bdd4
Modificáronse 2 ficheiros con 6 adicións e 7 borrados
  1. 5 7
      core/CoreApp/controllers/Ac.php
  2. 1 0
      core/CoreApp/models/Model_apitt.php

+ 5 - 7
core/CoreApp/controllers/Ac.php

@@ -130,7 +130,6 @@ class Ac extends Start_Controller {
 	
 	public function _x3($arg_array)
 	{
-		die;
 		$fullorder = $this->fullorder->get_number($arg_array[0]);
 		if(!$fullorder)
 		{
@@ -212,7 +211,8 @@ class Ac extends Start_Controller {
 			//$pt .= '<p>'.$p[1].' * '.$p[2].'</p>';
 		}
 		$fullorder['pt'] = $pt;
-		$fullorder['printnumber'] = 10;
+		$fullorder['printnumber'] = 0;
+		//$fullorder['number'] = $fullorder['number'].'-CS2';
 // 		$fullorder['address'] = "221 5TH ST # APT305";
 // 		$fullorder['city'] = "W SACRAMENTO";
 // 		echo "<pre>";
@@ -236,16 +236,14 @@ class Ac extends Start_Controller {
 		//echo $fullorder['name'];
 		//$b = $this->yuntu->get_data($fullorder);
 		//$b = $this->usps->get_logistics($fullorder);
-//		$fullorder['printcode'] = 'YunExpress_JFPHTKR';
+		$fullorder['printcode'] = 'HUALEI-GES-UK';
 // 		$fullorder['js'] = 2;
 // 		$fullorder['bx'] = 110;
 		//$fullorder['qm'] = 1;
 
 	    echo "<pre>";
-		print_r($fullorder);
-
-		die;
-		$b = $this->hualei->get_data($fullorder);
+		
+		$b = $this->hualeiv1->get_data($fullorder);
 		print_r($b);
 		die;
 		

+ 1 - 0
core/CoreApp/models/Model_apitt.php

@@ -548,6 +548,7 @@ function __construct(){
 		$queryParams['shop_cipher'] =$shop['shop_cipher'];
 		$queryParams['app_key'] =$shop['app_key'];
 		$queryParams['timestamp'] =$time;
+		$queryParams['page_size'] = 100;
 		$link .= '?'.http_build_query($queryParams);
 		$sign = $this->sign($link,$shop['app_secret'],$post);
 		$url .= $link.'&sign='.$sign;