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"); }