平台币快捷支付

master
tpingzhang 5 years ago
parent 546a151fbd
commit 730cb8cf03

@ -571,6 +571,7 @@ class WapPayController extends BaseController{
$request['code'] = 0;
$request['price'] = I('request.code');
$request['game_id'] = I('request.game_id');
$type = "platform";
}
/* $request['user_id'] = 232;
$request['game_id'] = 78;
@ -635,7 +636,7 @@ class WapPayController extends BaseController{
'game_id' => $request['game_id'],
'order_id' => $request['pay_order_number'],
'price' => $request['actual_amount']?:$request['price'],
'type' => 'sq_shortcut',
'type' => $type=='platform' ? 'sq_shortcut_platform' : 'sq_shortcut',
'info' => json_encode($request),
'status' => 'normal',
'create_time' => time(),

@ -70,14 +70,14 @@
</p>
</a>
<!-- <a id="shorcut" href="javascript:;" data-url="{:U('WapPay/wap_shortcut_pay', array('user_id'=>I('user_id'),'game_id'=>I('game_id'),'user_token'=>I('user_token'),'code'=>0,'type'=>'platform'))}" class="weui-grid js_grid">
<a id="shorcut" href="javascript:;" data-url="{:U('WapPay/wap_shortcut_pay', array('user_id'=>I('user_id'),'game_id'=>I('game_id'),'user_token'=>I('user_token'),'code'=>0,'type'=>'platform'))}" class="weui-grid js_grid">
<div class="weui-grid__icon">
<img src="__IMG__/onlinepay.png" alt="">
</div>
<p class="weui-grid__label">
快捷支付
</p>
</a> -->
</a>
</div>
</div>

Loading…
Cancel
Save