...
|
...
|
@@ -873,8 +873,8 @@ class HomeController extends AbstractAction |
|
|
$input->SetOpenid($openId);
|
|
|
$order = WxPayApi::unifiedOrder($input);
|
|
|
$jsApiParameters = $tools->GetJsApiParameters($order);
|
|
|
|
|
|
$this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => json_decode($jsApiParameters))));
|
|
|
$this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => json_decode($jsApiParameters) )) );
|
|
|
|
|
|
} while (false);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -912,7 +912,7 @@ class HomeController extends AbstractAction |
|
|
}
|
|
|
|
|
|
$this->setTitle('订单详情');
|
|
|
$this->setNavHeader('订单详情', true, false);
|
|
|
$this->setNavHeader('订单详情', Helpers::url('/home/orders'), false);
|
|
|
|
|
|
$this->_view->display('order-detail', array(
|
|
|
'orderDetailPage' => true,
|
...
|
...
|
|