pc官网充值支付方式写死

master
liuweiwen 5 years ago
parent 8d52d52785
commit a71b46eb6f

@ -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'];

@ -136,20 +136,25 @@
<div class="way-box">
<div class="way-select">
<if condition="get_tool_status('alipay') eq 1">
<!-- <if condition="get_tool_status('alipay') eq 1">-->
<!-- <div class="wayBg" data-type="alipay">-->
<!-- <img src="__IMG__/zhifubaozhifu.png" alt="">-->
<!-- <span>支付宝</span>-->
<!-- </div>-->
<!-- </if>-->
<!-- <if condition="get_tool_status('weixin') eq 1 or get_tool_status('wei_xin') eq 1 or get_tool_status('weixin_gf') eq 1">-->
<div class="wayBg" data-type="alipay">
<img src="__IMG__/zhifubaozhifu.png" alt="">
<span>支付宝</span>
</div>
</if>
<if condition="get_tool_status('weixin') eq 1 or get_tool_status('wei_xin') eq 1 or get_tool_status('weixin_gf') eq 1">
<div class="" data-type="weixin">
<img src="__IMG__/weixin.png" alt="">
<span>微信支付</span>
</div>
</if>
<!-- </if>-->
<if condition="get_tool_status('jft') eq 1">
<div class="" data-type="jft"><span class="p1_1 g" id="p1">竣付通</span></div>

Loading…
Cancel
Save