Authored by hf

do add union code and fixes bug to weixin pay

@@ -812,7 +812,7 @@ class HomeController extends AbstractAction @@ -812,7 +812,7 @@ class HomeController extends AbstractAction
812 ), 812 ),
813 'orderCode' => $orderCode, 813 'orderCode' => $orderCode,
814 'hasWxShare' => $hasWxShare, 814 'hasWxShare' => $hasWxShare,
815 - 'oldWeixinAuthUrl' => Helpers::url('/home/orders/tickets', array('order_code' => 0)), // 解决老站微信支付很坑的问题 815 + 'oldWeixinAuthUrl' => $hasWxShare ? Helpers::url('/shopping/pay/wechatwapapi', array('order_code' => $orderCode)) : false, // 解决老站微信支付很坑的问题
816 )); 816 ));
817 } 817 }
818 818