Authored by hf

fixes some bugs to weixin pay

@@ -819,14 +819,14 @@ class HomeController extends AbstractAction @@ -819,14 +819,14 @@ class HomeController extends AbstractAction
819 public function weixinapiAction() 819 public function weixinapiAction()
820 { 820 {
821 do { 821 do {
822 -// if (!$this->isAjax()) {  
823 -// break;  
824 -// }  
825 -//  
826 -// $uid = $this->getUid(true);  
827 -// if (!$uid) {  
828 -// break;  
829 -// } 822 + if (!$this->isAjax()) {
  823 + break;
  824 + }
  825 +
  826 + $uid = $this->getUid(true);
  827 + if (!$uid) {
  828 + break;
  829 + }
830 830
831 $orderCode = $this->get('order_code'); 831 $orderCode = $this->get('order_code');
832 if (empty($orderCode)) { 832 if (empty($orderCode)) {