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