平台币充值

master
tpingzhang 5 years ago
parent 3e8dd13378
commit f3a9e70330

@ -306,6 +306,7 @@ ADD COLUMN `pay_url` varchar(255) NOT NULL DEFAULT '' AFTER `check_sign`;
$this->assign("sdk_version", $result['sdk_version']?:0);
$this->assign ('Scheme', $Scheme);
$this->assign ('gopay', $gopay);
$this->assign ('user_token', $userToken);
$this->assign ('gopay_url', $gopayUrl);
$this->assign ('paystatus', $result ['pay_status']);

@ -18,6 +18,7 @@
<input type="hidden" name="gopay" class="gopay" value="{$gopay}">
<input type="hidden" name="aliapp" class="aliapp" value="{$aliapp}">
<input type="hidden" name="sqzfb" class="sqzfb" value="{$sqzfb}">
<input type="hidden" name="user_token" class="user_token" value="{$user_token}">
<!-- <div class="close" onclick="javascript:history.go(-1);">
<a href="javascript:">
@ -77,6 +78,7 @@ $(function() {
var orderno=$('.orderno').val();
var device=$('.device').val();
var Scheme=$('.Scheme').val();
var user_token = $('.user_token').val();
$.ajax({
type: "post",
@ -84,7 +86,7 @@ $(function() {
dataType: "json",
data: {
'orderno' : orderno,
'user_token' : "{:I('user_token')}",
'user_token' : user_token,
},
success: function(r) {
if (r.payStatus == '1') {

Loading…
Cancel
Save