...
|
...
|
@@ -38,6 +38,7 @@ class PayController extends AbstractAction |
|
|
/* 判断用户是否登录 */
|
|
|
$uid = $this->getUid(true);
|
|
|
if (!$uid) {
|
|
|
$this->go( Helpers::url('/signin.html', array('refer' => $this->_request->server('HTTP_REFERER'))) );
|
|
|
break;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -67,13 +68,13 @@ class PayController extends AbstractAction |
|
|
// 此处是咨询过JAVA开发任明明,按照老代码的实现方式判断,更新支付方式
|
|
|
$paymentRecod = OrderData::updateOrderPayment($orderCode, 2, $uid);
|
|
|
if (empty($paymentRecod) || $paymentRecod['code'] != 200) {
|
|
|
$this->helpJsRedirect('系统繁忙,请稍后再试');
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
$this->go($payRequestPars['pay_url'] . $payRequestPars['pars']);
|
|
|
}
|
|
|
while (false);
|
|
|
echo 'dd';
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|