Authored by hf

fixes some bugs to weixin pay

... ... @@ -819,14 +819,14 @@ class HomeController extends AbstractAction
public function weixinapiAction()
{
do {
// if (!$this->isAjax()) {
// break;
// }
//
// $uid = $this->getUid(true);
// if (!$uid) {
// break;
// }
if (!$this->isAjax()) {
break;
}
$uid = $this->getUid(true);
if (!$uid) {
break;
}
$orderCode = $this->get('order_code');
if (empty($orderCode)) {
... ...