From 32b325eb36714a194a3ace10c40d84aa60240fab Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 1 Oct 2019 00:31:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E8=B0=83=E4=B8=8D=E5=81=9A=E7=99=BB?= =?UTF-8?q?=E5=85=A5=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/Ipa365Controller.class.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/Ipa365Controller.class.php b/Application/Sdk/Controller/Ipa365Controller.class.php index 018a4e144..44c23e724 100644 --- a/Application/Sdk/Controller/Ipa365Controller.class.php +++ b/Application/Sdk/Controller/Ipa365Controller.class.php @@ -214,8 +214,13 @@ class Ipa365Controller extends BaseController{ public function install_show() { $orderId = I('order_id', 0); $gameId = I('game_id', 0); + $userId = I('user_id', 0); - $userId = $_SESSION['user_id']; + $user = M('user', 'tab_')->where(array( + 'id' => $userId + ))->find(); + +// $userId = $_SESSION['user_id']; if (!$userId ) { $this->error("请登入", "/mobile.php/ssg/login"); }