Authored by 郝肖肖

success png

This diff could not be displayed because it is too large.
... ... @@ -10,7 +10,9 @@
</div>
<div class="success-btn pt50">
<a href="/">继续逛</a>
<a href="/home/orders/detail?order_code=<?php echo $this->order_code; ?>">查看订单</a>
{{#if order_code}}
<a href="/home/orders/detail?order_code={{order_code}}">查看订单</a>
{{/if}}
</div>
</div>
</div>
... ...
... ... @@ -203,6 +203,7 @@ class PayController extends AbstractAction
*/
private function commonShowResult($payResult, $payment)
{
$orderCode = '';
$this->setTitle('支付中心');
$this->setNavHeader('支付中心', Helpers::url('/home/orders'), false);
... ... @@ -210,6 +211,7 @@ class PayController extends AbstractAction
if ($payResult->payResult == 200) {
$view = 'index';
if (!empty($payResult->orderCode)) {
$orderCode = $payResult->orderCode;
//支付成功,发送一次支付确认
$uid = $this->getUid();
OrderData::payConfirm($payResult->orderCode, $payment, $uid);
... ... @@ -218,7 +220,8 @@ class PayController extends AbstractAction
$data = array(
'payBackPage' => true,
'pageFooter' => true
'pageFooter' => true,
'order_code' => $orderCode
);
$this->_view->display($view, $data);
}
... ...