From 387f06f01aea17d6a9409cdb3775f162ad7f41af Mon Sep 17 00:00:00 2001 From: tping Date: Thu, 5 Mar 2020 20:03:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=93=E5=AE=9D=E6=94=AF=E4=BB=98=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sdk/Controller/ShortcutController.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Application/Sdk/Controller/ShortcutController.class.php b/Application/Sdk/Controller/ShortcutController.class.php index fc63b5e1..2e8da36b 100644 --- a/Application/Sdk/Controller/ShortcutController.class.php +++ b/Application/Sdk/Controller/ShortcutController.class.php @@ -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);