lvhao 2 weeks ago
parent
commit
9e745601aa
1 changed files with 5 additions and 1 deletions
  1. 5 1
      core/CoreApp/controllers/Aatest.php

+ 5 - 1
core/CoreApp/controllers/Aatest.php

@@ -94,9 +94,13 @@ class Aatest extends Start_Controller {
     public function _remap($arg,$arg_array)
     {   
 		$info = $this->logic_order->getInfo("number = 'TT-WK-260125-061'");
+		$extra_info = json_decode($info['extra_text'],true);
+		$label_info = $extra_info['label_info'];
+	
 		$shop = $this->shop->read($info['shop']);
-		$res = $this->apitt->downloadLabel("1155684783548371851",$shop,$info);
+		$res = $this->apitt->downloadLabel($label_info['package_id'],$shop,$info);
 		echo "<pre>";
+		print_r($label_info);
 		print_r($res);
 		die;
 		die;