...
|
...
|
@@ -800,6 +800,11 @@ class HomeController extends AbstractAction |
|
|
$this->error();
|
|
|
}
|
|
|
|
|
|
/* 判断订单是否已付款, 已付款跳到订单详情页 */
|
|
|
if (!empty($orderDetail['isPay'])) {
|
|
|
$this->go(Helpers::url('/home/orderdetail', array('order_code' => $orderCode)) );
|
|
|
}
|
|
|
|
|
|
$hasWxShare = strpos($this->server('HTTP_USER_AGENT', ''), 'MicroMessenger') !== false;
|
|
|
if ($hasWxShare) {
|
|
|
$tools = new JsApiPay();
|
...
|
...
|
|