...
|
...
|
@@ -92,6 +92,8 @@ class OrdersController extends WebAction |
|
|
$orderCode = $this->get('order_code', '');
|
|
|
}
|
|
|
$detail = OrderModel::getOrderDetail($uid, $orderCode);
|
|
|
//取消订单原因列表
|
|
|
$resons = OrderData::closeReasons();
|
|
|
//非当前用户的订单,跳转个首
|
|
|
if (isset($detail['code']) && $detail['code'] == 400) {
|
|
|
$this->go(Helpers::url('/home'));
|
...
|
...
|
@@ -115,6 +117,7 @@ class OrdersController extends WebAction |
|
|
'orderBalance' => isset($detail['orderBalance']) ? $detail['orderBalance'] : array(),
|
|
|
'operation' => $detail['operation'],
|
|
|
'totalYoho' => $detail['yoho_give_coin'],
|
|
|
'cancelReason' => isset($resons['data']) ? $resons['data'] : '',
|
|
|
);
|
|
|
if (isset($detail['noramlPayMode'])) {
|
|
|
$data['orderInfo'] = $detail['orderInfo'];
|
...
|
...
|
|