...
|
...
|
@@ -156,6 +156,28 @@ class PayController extends AbstractAction |
|
|
|
|
|
} while (false);
|
|
|
}
|
|
|
/**
|
|
|
* 微信支付发送确认
|
|
|
*/
|
|
|
public function wechatPayConfirmAction()
|
|
|
{
|
|
|
$result = array('code' => '400', 'message' => '支付确认发送失败!');
|
|
|
do {
|
|
|
if (!$this->isAjax()) {
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
$uid = $this->getUid();
|
|
|
$orderCode = $this->get('order_code', '');
|
|
|
if (empty($uid) || empty($orderCode)) {
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
$result = OrderData::payConfirm($orderCode, 22, $uid);
|
|
|
} while (false);
|
|
|
|
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 选择支付时,时间间隔校验插入
|
...
|
...
|
|