快捷支付

master
tping 5 years ago
parent 5ebd730df1
commit f523d1d916

@ -753,7 +753,8 @@ class ShortcutController extends BaseController{
}
}
$this->assign("type", $is_platform ? "platform" : "");
$this->assign("code", $request['code']);
$this->assign("pay_amount", $request['actual_amount']?$request['actual_amount']:$request['price']);
$this->assign("user_id", $request['user_id']);
$this->assign("game_id", $request['game_id']);
@ -762,7 +763,6 @@ class ShortcutController extends BaseController{
$this->assign("order_id", $request['pay_order_number']);
$this->assign('goods_info',$request['goods_info']);
$this->display('yee_step1');
}
@ -839,14 +839,13 @@ class ShortcutController extends BaseController{
if ($is_platform) {
$request['code'] = 0;
$request['user_id'] = $user_id;
$request['price'] = intval(I('request.price'));
$request['game_id'] = $game_id;
$request['pay_way'] = C("PAY_WAY.SQ_SHORTCUT"); // 支付方式(-1绑币 0:平台币,1:支付宝,2:微信(扫码)3微信app 4 威富通 5聚宝云 6竣付通 7苹果支付8金猪支付 9双乾支付-支付宝 10双乾支付-银联 15双乾支付-快捷
$request['pay_status'] = 0;
$request['spend_ip'] = get_client_ip();
$payInfo['info'] = json_decode($payInfo['info'],true);
$request['goods_info'] = $payInfo['info']['game_name'].$payInfo['info']['body'];
// $payInfo['info'] = json_decode($payInfo['info'],true);
$request['goods_info'] = "平台币充值";
$payInfo = M('pay_info', 'tab_')->where([
'user_id' => $user_id,
@ -915,7 +914,7 @@ class ShortcutController extends BaseController{
$this->assign('bank_info',$bank_info);
$this->assign('cardNo',I('request.card_no'));
// var_dump($request);
$this->display('yee_step2');

@ -23,7 +23,8 @@
<input type="hidden" name="user_id" id="user_id" value="{$user_id}" />
<input type="hidden" name="game_id" id="game_id" value="{$game_id}" />
<input type="hidden" name="extend" id="extend" value="{$extend}" />
<input type="hidden" name="code" id="code" value="1" />
<input type="hidden" name="code" id="code" value="{$code}" />
<input type="hidden" name="type" id="type" value="{$type}" />
<input type="hidden" name="user_token" id="user_token" value="{$user_token}" />
<input type="hidden" name="api_ver" id="api_ver" value="2" />
<input type="hidden" name="step" id="step" value="2" />
@ -82,7 +83,8 @@
<input type="hidden" name="user_id" id="user_id" value="{$user_id}" />
<input type="hidden" name="game_id" id="game_id" value="{$game_id}" />
<input type="hidden" name="extend" id="extend" value="{$extend}" />
<input type="hidden" name="code" id="code" value="1" />
<input type="hidden" name="code" id="code" value="{$code}" />
<input type="hidden" name="type" id="type" value="{$type}" />
<input type="hidden" name="user_token" id="user_token" value="{$user_token}" />
<input type="hidden" name="api_ver" id="api_ver" value="2" />
<input type="hidden" name="step" id="step" value="2" />

Loading…
Cancel
Save