diff --git a/Application/Home/Controller/DownController.class.php b/Application/Home/Controller/DownController.class.php index 86be86ba4..8e1145995 100644 --- a/Application/Home/Controller/DownController.class.php +++ b/Application/Home/Controller/DownController.class.php @@ -15,7 +15,7 @@ class DownController extends Controller { } public function down_file($game_id=0,$promote_id=0){ // 旧版兼容 - A('Download')->index(); + A('Package')->download(); die(); $applyModel = M('Apply','tab_'); diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index 63d9bb6d9..60df72882 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -137,7 +137,6 @@ class HomeController extends Controller $code = I('code', ''); $gameId = I('gid', 0); $promoteId = I('pid', 0); - if ($code == '' && ($gameId == 0 || $promoteId == 0)) { $this->error('访问错误'); } @@ -214,7 +213,7 @@ class HomeController extends Controller $this->assign('isAndroid', $isAndroid); $this->assign('apply', $apply); $this->assign('game', $game); - $this->display(); + $this->display('landingPage'); }