回调不做登入验证

master
tpingzhang 5 years ago
parent 77c1f1c6d9
commit 32b325eb36

@ -214,8 +214,13 @@ class Ipa365Controller extends BaseController{
public function install_show() { public function install_show() {
$orderId = I('order_id', 0); $orderId = I('order_id', 0);
$gameId = I('game_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 ) { if (!$userId ) {
$this->error("请登入", "/mobile.php/ssg/login"); $this->error("请登入", "/mobile.php/ssg/login");
} }

Loading…
Cancel
Save