|
@@ -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);
|