|
|
|
@ -98,15 +98,15 @@ class RechargeController extends BaseController
|
|
|
|
|
case 'alipay':
|
|
|
|
|
//判断是否开启支付宝充值
|
|
|
|
|
if (pay_set_status('alipay') == 0) {
|
|
|
|
|
$this->error("网站未启用支付宝充值", '', 1);
|
|
|
|
|
exit();
|
|
|
|
|
// $this->error("网站未启用支付宝充值", '', 1);
|
|
|
|
|
// exit();
|
|
|
|
|
}
|
|
|
|
|
echo $pay->buildRequestForm($vo);
|
|
|
|
|
break;
|
|
|
|
|
case 'weixin':
|
|
|
|
|
if (pay_set_status('wei_xin') == 0 && pay_set_status('weixin') == 0&&pay_set_status('weixin_gf')==0 ) {
|
|
|
|
|
$this->error("网站未启用微信充值", '', 1);
|
|
|
|
|
exit();
|
|
|
|
|
// $this->error("网站未启用微信充值", '', 1);
|
|
|
|
|
// exit();
|
|
|
|
|
}
|
|
|
|
|
if (get_wx_type() == 0) {//微信官方
|
|
|
|
|
$data['pay_order_number'] = $data['order_no'];
|
|
|
|
|