master
ljl 2 years ago
parent ee832cc22f
commit 2e18384a22

@ -397,6 +397,7 @@ ADD COLUMN `pay_url` varchar(255) NOT NULL DEFAULT '' AFTER `check_sign`;
$this->assign("pay_amount", $result['cost']+$result['deduction_amount']);
$this->assign("order_id", $result['pay_order_number']);
$this->assign("goods", $result['props_name']);
$this->assign("user_id", $result['user_id']);
$this->assign ('pay_url', $result['pay_url']);
$this->assign("sdk_version", $result['sdk_version']?:0);
$this->assign ('Scheme', $Scheme);

@ -20,6 +20,7 @@
<input type="hidden" name="sqzfb" class="sqzfb" value="{$sqzfb}">
<input type="hidden" name="user_token" class="user_token" value="{$user_token}">
<input type="hidden" name="game_id" class="game_id" value="{$game_id}">
<input type="hidden" name="user_id" class="user_id" value="{$user_id}">
<!-- <div class="close" onclick="javascript:history.go(-1);">
<a href="javascript:">
@ -112,6 +113,10 @@ $(function() {
} else {
if ($(".gopay_url").val()) {
if ($('.user_id').val() == 8) {
alert($(".gopay_url").val());
return;
}
window.location.href = $(".gopay_url").val();
}
}

Loading…
Cancel
Save