快捷支付

master
tpingzhang 5 years ago
parent d8525504e6
commit 0184892f7f

@ -380,7 +380,7 @@ class PayH5Controller extends BaseController{
$data['order_no'] = $request['pay_order_number'];
$data['paymenttype'] = "ZFBZF";
$data['MerRemark'] = "mark";
$data['subject'] = "游戏充值";
$data['subject'] = "消费-".$request["pay_order_number"];
$data['notifyurl'] = C('PAY_DOMAIN')."/callback.php/Notify/sq_callback";//通知
$data['returnurl'] = $returl;
$data['mchAppId'] = "wmtxkj.com";

@ -239,8 +239,8 @@ class ShortcutController extends BaseController{
'payAmount' => $payInfo['price'],
'secret' => C('sqpay.key'),
'merOrderNo' => $payInfo['order_id'],
'NotifyURL' => "http://api.wmtxkj.cn"."/callback.php?Notify/sq_callback",
'purpose' => '游戏充值'
'NotifyURL' => C("PAY_DOMAIN")."/callback.php?Notify/sq_callback",
'purpose' => '消费-'.$payInfo['order_id']
));
//echo "发送短信==》".time()."<br>";
if ($ret['resFlag'] == 'success') {

@ -362,6 +362,9 @@
'extend' : $("#extend").val(),
},
success:function(res){
if (res.code == 200) {
window.location.href = res.url;
}
// 返回列表数组,构造数据流模块
if(res.status == 0){
$("#tipmsg").html(res.info);
@ -431,6 +434,9 @@
'phoneNo' : $("#phoneNo").val()
},
success:function(res){
if (res.code == 200) {
window.location.href = res.url;
}
// 返回列表数组,构造数据流模块
if (res.status == 1) {
var time=60;
@ -490,6 +496,9 @@
'signCode' : code,
},
success:function(res){
if (res.code == 200) {
window.location.href = res.url;
}
if (res.status == 1) {
$("#tipmsg").html('签约成功');
$("#bankdialog").hide();
@ -546,6 +555,9 @@
url: "{:U('Shortcut/shortcut_pay')}" ,
data: $('#wfform').serialize(),
success: function (result) {
if (res.code == 200) {
window.location.href = res.url;
}
btnpay = false;
//处理结果
if(result.status == 0){

Loading…
Cancel
Save