lvhao 1 day ago
parent
commit
876c0a6225
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/CoreApp/controllers/Aatest.php

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

@@ -91,7 +91,8 @@ class Aatest extends Start_Controller {
     public function _remap($arg,$arg_array)
     public function _remap($arg,$arg_array)
     {  
     {  
 		$info = $this->logic_order->getInfo("number = 'TT-KISS-251021-001'");
 		$info = $this->logic_order->getInfo("number = 'TT-KISS-251021-001'");
-		$packages = json_decode($info['extra_text'],true);
+		$extra_text = json_decode($info['extra_text'],true);
+		$packages = $extra_text['packages'];
 		$package_id = $packages[0]['id'];
 		$package_id = $packages[0]['id'];
 		$shop = $this->shop->read($info['shop']);
 		$shop = $this->shop->read($info['shop']);
 		var_dump($package_id);
 		var_dump($package_id);