易宝支付提示

master
tping 5 years ago
parent 4fc6eabb8b
commit 387f06f01a

@ -517,9 +517,9 @@ class ShortcutController extends BaseController{
$request['pay_status'] = 0; $request['pay_status'] = 0;
$request['spend_ip'] = get_client_ip(); $request['spend_ip'] = get_client_ip();
$payInfo = M('pay_info', 'tab_')->where([ $payInfo = M('pay_info', 'tab_')->where([
'user_id' => I('user_id'), 'user_id' => I('request.user_id'),
'game_id' => I('game_id'), 'game_id' => I('request.game_id'),
'extend' => I('extend', ''), 'extend' => I('request.extend', ''),
])->order('id desc')->find(); ])->order('id desc')->find();
$request['pay_order_number'] = $payInfo['order_id']; $request['pay_order_number'] = $payInfo['order_id'];
@ -529,9 +529,9 @@ class ShortcutController extends BaseController{
} else { // 游戏充值 } else { // 游戏充值
$request['code'] = 1; $request['code'] = 1;
$payInfo = M('pay_info', 'tab_')->where([ $payInfo = M('pay_info', 'tab_')->where([
'user_id' => I('user_id'), 'user_id' => I('request.user_id'),
'game_id' => I('game_id'), 'game_id' => I('request.game_id'),
'extend' => I('extend'), 'extend' => I('request.extend'),
])->order('id desc')->find(); ])->order('id desc')->find();
if ($payInfo) { if ($payInfo) {
$info = json_decode($payInfo['info'], true); $info = json_decode($payInfo['info'], true);

Loading…
Cancel
Save