window.location.href='./login.php';"); ?>
32)showmsg('转账备注最多32个字',3); if(!is_numeric($money) || !preg_match('/^[0-9.]+$/', $money) || $money<=0)showmsg('转账金额输入不规范',3); if ($app=='qqpay' && (!is_numeric($payee_account) || strlen($payee_account)<6 || strlen($payee_account)>10))showmsg('QQ号码格式错误',3); $channelid = isset($_POST['channel'])?$_POST['channel']:$default_channel; $channel = \lib\Channel::get($channelid); if(!$channel)showmsg('当前支付通道信息不存在',4); $result = \lib\Transfer::submit($app, $channel, $out_biz_no, $payee_account, $payee_real_name, $money, $desc); if($result['code']==0){ $paytime = $result['status'] == 1 ? 'NOW()' : null; $data = ['biz_no'=>$out_biz_no, 'uid'=>0, 'type'=>$app, 'channel'=>$channelid, 'account'=>$payee_account, 'username'=>$payee_real_name, 'money'=>$money, 'costmoney'=>$money, 'addtime'=>'NOW()', 'paytime'=>$paytime, 'pay_order_no'=>$result['orderid'], 'status'=>$result['status'], 'desc'=>$desc]; if(isset($result['wxpackage'])) $data['ext'] = $result['wxpackage']; $DB->insert('transfer', $data); if($result['status'] == 1){ $result='转账成功!转账单据号:'.$result['orderid'].' 支付时间:'.$result['paydate']; }elseif(isset($result['wxpackage'])){ $result='提交成功!请在付款记录页面扫描二维码确认收款,1天内未确认,将退还给商家。转账单据号:'.$result['orderid'].' 支付时间:'.$result['paydate']; }else{ $result='提交成功!转账处理中,请稍后在付款记录页面查看结果。转账单据号:'.$result['orderid'].' 支付时间:'.$result['paydate']; } showmsg($result,1,'./transfer.php'); }else{ $result='转账失败:'.$result['msg']; showmsg($result,4); } } $out_biz_no = date("YmdHis").rand(11111,99999); $channel_select = $DB->getAll("SELECT id,name,plugin FROM pre_channel WHERE plugin IN (SELECT name FROM pre_plugin WHERE transtypes LIKE '%".$app."%')"); $copy = []; if(isset($_GET['copy'])){ $copy = $DB->find('transfer', '*', ['biz_no'=>trim($_GET['copy'])]); } ?>

转账付款

通道选择
交易号
支付宝账号
支付宝姓名
Openid
真实姓名
收款方QQ
真实姓名
银行卡号
姓名
转账金额
转账备注
支付密码

查询账户余额